Programming - Inner Classes

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

 
7.

The Keyword this can be used only from within ___________ code.                        


A. instance B. static
C. non static D. final




8.

The _________________ reference is a reference to the currently executing object.                        


A. this B. final
C. super D. static




9.

The ______________ reference is the way an object can pass a reference to itself to some other code.                        


A. this B. final
C. super D. static




10.

How many member modifiers are applied to inner classes?                        


A. 1 B. 2
C. 3 D. 7




11.

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




12.

The only modifiers you can apply to a method-local inner class are_________________________.                        


A. abstract B. final
C. both A and B D. static




« prev

1

2

3

4

next »

 
 



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