Programming - Inner Classes - Discussion

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

 



Q.

To create an instance of an _______________________,you must have an instance of the outer class to tie to the inner class.                         


A. inner class B. outer class
C. both A and B D. none of these

Answer: Option A
Explaination:

 


To create an instance of an inner class,you must have an instance of the outer class to tie to the inner class.




Discussion

Your Comments Goes here...
NameDiscussion