Consider the following: When foo is executed, what is printed out?
public void foo () { int x = 42; int y = 24; mystery (x, y); System.out.println (x + " " + y); } public void mystery (int var1, int var2) { int temp = var1; var1 = var2; var2 = temp; }
There are no hints for this question