//method public String foo(int i, int j) { switch (i) { case 0: switch (j) { case 1: return "0, 1"; default: return "0, x"; } case 1: return "1, x"; default: return "x, x"; } }