Look at the following class:
public class CheckPoint{public void message(int x) { System.out.print("This is the first version "); System.out.println("of the method."); }public void message(String x) { System.out.print("This is the second version "); System.out.println("of the method."); }}
What will the following code display?
CheckPoint cp = new CheckPoint();cp.message("1");cp.message(1);
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.