Question: What would have been the output of the preceding program if the method3 method had contained the following statements? public static void method3 () {
What would have been the output of the preceding program if the method3 method had contained the following statements?

public static void method3 () { method1 (); method2 () ; System.out.println ("I am method 3."):
Step by Step Solution
3.49 Rating (159 Votes )
There are 3 Steps involved in it
Output of Confusing2 program I am me... View full answer
Get step-by-step solutions from verified subject matter experts
