Question: In the following code for a class in which methodA has an inner class, which variables would the statement in line 8 be able to
In the following code for a class in which methodA has an inner class, which variables would the statement in line 8 be able to use in place of XX? [Check all correct answers.] 1. public class Base 2. private statie final int ID - 3 A 3. private String name: 4. public void methodA final int m ) 5. int serialN-11 class inne void showResult System.out.println("REL+ XXX 10. I end class inner new inner() showResult 12 11/ end methodA 13 0 a. The int nn in line 4 b. new inner().showResult(); c The int ID in line 2 Od. The String in line 3 e. The int serialN in line 5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
