What will the following program display?
public class Checkpoint
{
public static void main(String[] args)
{
int num1 = 99;
double num2 = 1.5;
System.out.println(num1 + " " + num2);
myMethod(num1, num2);
System.out.println(num1 + " " + num2);
}
public static void myMethod(int i, double d)
{
System.out.println(i + " " + d);
i = 0;
d = 0.0;
System.out.println(i + " " + d);
}
}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.