Programming - Inner Classes

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

 
13.

________________ 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




14.

An ______________________________ inner class can extend one subclass or implement one interface.                        


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




15.

An argument-defined inner class is declared, defined, and automatically instantiated as part of a______________________________.                         


A. method invocation. B. Method Overriding
C. method overloading D. polymorphism




16.

Static nested classes are inner classes marked with the _________________ modifier.                        


A. static B. final
C. private D. public




17.

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


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




18.

____________________ classes nest within other classes.                        


A. Inner B. outer
C. both D. static




« prev

1

2

3

4

next »

 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on