Programming - Inheritance

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

 
1.

_________ means to take something that is already made.                        


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




2.

____________ is the concept that is used for reusability purpose.                         


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




3.

____________ is the mechanism through which we can derived classes from other classes.                        


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




4.

The derived class is called as ___________________ or we can say the extended class and the class from which we are deriving the subclass is called the _______________.                        


A. Child,Parent B. Parent,Child
C. Parent D. Child




5.

To derive a class in java the keyword _____________ is used.                        


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




6.

The concept of ________________ is used to make the things from general to more specific                        


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




1

2

3

4

5

6

7

next »

 
 



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