Programming - Interfaces

You Are Here :: Home > JAVA > Interfaces - General Questions

 
19.

A class uses the implements keyword to implement an interface.                        


A. Interface B. Abstraction
C. Encapsulation D. Inheritance




20.

Checked exceptions should not be declared on implementation methods other than the ones declared by the interface method or subclasses of those declared by the interface method.                        


A. Interface B. Abstraction
C. Encapsulation D. Inheritance




21.

The signature of the _____________ method and the same return type or subtype should be maintained when overriding the methods.                        


A. Interface B. Abstraction
C. Encapsulation D. Inheritance




22.

An implementation class itself can be _______________ and if so interface methods need not be implemented.                        


A. Abstract B. Static
C. Non-Static D. Parameterized




23.

The ___________ keyword is used to extend an interface                        


A. this B. extends
C. super D. get




24.

An interface with no methods in it is referred to as a ______________ interface.                        


A. tagging B. Static
C. Non-Static D. Parameterized




« prev

1

2

3

4

5

next »

 
 



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