Programming - Interfaces

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

 
13.

An ______________ like that of an abstract class cannot be instantiated.                        


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




14.

Java does not support ___________ inheritance, but it allows you to extend one class and implement many interfaces.                        


A. Single B. Multiple
C. Hierarchy D. Multilevel




15.

An interface contains behaviors that a class implements.                        


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




16.

An interface cannot contain instance fields. The only fields that can appear in an interface must be declared both static and final.                        


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




17.

The interface keyword is used to declare an interface.                        


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




18.

Methods in an interface are implicitly public.                        


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