Programming - Inner Classes - Discussion

You Are Here :: Home > JAVA > Inner Classes - Discussion

 



Q.

A static nested class cannot access ____________________ members of the outer class.                         


A. non-static B. static
C. both A and B D. final

Answer: Option A
Explaination:

 


Since it doesnot have an implicit reference to any outer instance.




Discussion

Your Comments Goes here...
NameDiscussion