Programming - Interfaces

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

 
7.

An _________________ defines a protocol of communication between two objects.                        


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




8.

An ___________ declaration contains signatures, but no implementations, for a set of methods, and might also contain constant definitions.                        


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




9.

A class that implements an interface must implement all the methods declared in the ______________.                        


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




10.

An _______________ name can be used anywhere a type can be used.                        


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




11.

In Java, this multiple inheritance problem is solved with a powerful construct called _____________.                        


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




12.

____________ can be used to define a generic template and then one or more abstract classes to define partial implementations of the interface.                        


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




« prev

1

2

3

4

5

next »

 
 



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