What will be the output of the following program?
public class MyClass {
public static void main(String srit[]) {
myMethod();
}
static void myMethod() {
int x, y;
x = 5;
y = 3;
System.out.print("(" + x + ", " + y + ")");
points(x, y);
System.out.print(" (" + x + ", " + y + ")");
}
static void points(int x, int y) {
int xy;
xy = x;
x = y;
y = xy;
System.out.print(" (" + x + ", " + y + ")");
}
}