Question 1
Consider the Java code given below.
1 class ClassOne{ 2 public void methodOne(){ 3 // ... 4 } 5 public void methodTwo(){ 6 // ... 7 methodOne(); 8 // ... 9 }10 }11 class ClassTwo{12 public static void methodThree(){13 // ...14 ClassOne c = new ClassOne();15 c.methodTwo();16 // ...17 }18 public static void main(String[] args) {19 // ...20 methodThree();21 }22 }During execution of Line 8 in the above code, the activation record of which method is at the top of the stack of activation records?
