Programming - Abstract Classes

You Are Here :: Home > JAVA > Abstract Classes - General Questions

 
7.

________________ is a keyword to define that method an abstract method.                        


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




8.

___________________ refers to the ability to make a class abstract in OOP.                        


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




9.

An _____________ class is one that cannot be instantiated.                        


A. Super B. Child
C. Abstract D. Static




10.

The ______________________ keyword to declare a class abstract.                        


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




11.

An _______________________ methods consist of a method signature, but no method body.                        


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




12.

For design purpose, a class can be declared abstract even if it does not contain any __________________ methods                        


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




« prev

1

2

3

4

5

next »

 
 



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