What output will be produced by this program?
public class Mystery
{
public static void strangeMethod(int x, int y)
{
x += y;
y *= x;
System.out.println(x + " " + y);
}
public static void main(String[] args)
{
int a = 6, b = 3;
strangeMethod(a, b);
System.out.println(a + " " + b);
}
}
(A) 36
9
(B) 3 6
9
(C) 9 27
9 27
(D) 6 3
9 27
(E) 9 27
6 3