onsider the following code segment. int x = 3; int y = -1; if (x - 2 > y) { x -= y; } if (y + 3 >= x) { y += x; } System.out.print("x = " + x + " y = " + y); What is printed as a result of the execution of the code segment? x = -1 y = -1 x = -1 y = -1 x = 2 y = 1 x = 2 y = 1 x = 3 y = 2 x = 3 y = 2 x = 4 y = -1 x = 4 y = -1

Q&A Education