Considering the following code, which variables may be referenced correctly at line 12?
1. public class Outer
2. {
3. public int a = 1;
4. private int b = 2;
5. public void method(final int c)
6. {
7. int d = 3;
8. class Inner
9. {
10. private void iMethod(int e)
11. {
12.
13. }
14. }
15. }
16. }
-------------------------------------------------------------------------------
A. a
B. b
C. c
D. d
E. e
<PREVIOUS || Main Page || NEXT >
Give your answers in the comment below
1. public class Outer
2. {
3. public int a = 1;
4. private int b = 2;
5. public void method(final int c)
6. {
7. int d = 3;
8. class Inner
9. {
10. private void iMethod(int e)
11. {
12.
13. }
14. }
15. }
16. }
-------------------------------------------------------------------------------
A. a
B. b
C. c
D. d
E. e
<PREVIOUS || Main Page || NEXT >
Give your answers in the comment below
No comments:
Post a Comment