Programming - Inner Classes - Discussion

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

 



Q.

________________ Inner classes have no name, and their type must be either a subclass of the named type or an implementr of the named interface.                         


A. Anonymous B. named
C. unnamed D. Both B and C

Answer: Option A
Explaination:

 


Anonymous Inner classes have no name, and their type must be either a subclass of the named type or an implementr of the named interface.




Discussion

Your Comments Goes here...
NameDiscussion