Programming - Inner Classes - Discussion

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

 



Q.

A __________________ inner class can be instantiated only within the method where the inner class is defined.                         


A. method-local B. method-final
C. method-global D. Staticmethod-local

Answer: Option A
Explaination:

 


A method-local inner class can be instantiated only within the method where the inner class is defined.




Discussion

Your Comments Goes here...
NameDiscussion