| Source code: MT4.java |
public class MT4 {
public static void silly() {
int temp = x;
x *= y;
y = temp;
}
public static void main(String[] args) {
int x = 3;
int y = 4;
silly();
}
}
|