Programming - Abstract Classes

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

 
1.

In Java programme we have to use how many types of classes?                        


A. Two types B. Three types
C. Four types D. Five types




2.

An abstract class is one which is containing ______________________.                        


A. some defined methods and undefined methods B. only defined methods
C. only undefined methods D. none




3.

_________ can be defined as the process of hiding the unwanted details and exposing only the essential features of a particular object or concept.                        


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




4.

An _______________ class is something which is incomplete and you can not create instance of abstract class.                        


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




5.

______________ methods are those which need to be implemented in subclass                        


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




6.

Abstract methods are only defined in _______________ class but with no body.                        


A. Super B. Child
C. Base D. Explicit




1

2

3

4

5

next »

 
 



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