Consider the following program:
public class Tester
{
public void someMethod(int a, int b)
{
int temp = a;
a = b;
b = temp;
}
}
public class TesterMain
{
public static void main(String[] args)
{
int x = 6, y = 8;
Tester tester = new Tester();
tester.someMethod(x, y);
}
}
Just before the end of execution of this program, what are the values of x, y, and temp, respectively?
(A) 6, 8, 6
(B) 8, 6, 6
(C) 6, 8, ?, where ? means undefined
(D) 8, 6, ?, where ? means undefined
(E) 8, 6, 8