package method.invocation; public class TheParameterToTheMethodIsTheBasicDataType {
public static void main(String[] args) {
int a = 10;
int b = 20; System.out.println(a+" "+b); change(a, b); System.out.println(a+" "+b);
} public static void change(int a, int b) {
System.out.println(a+" "+b);
a = b;
b = a + b;
System.out.println(a+" "+b);
}
}