Programming - Inheritance

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

 
7.

When a subclass is derived simply from it's parent class then this mechanism is known as ______________ inheritance.                        


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




8.

There is only a sub class and it's parent class. It is also called ________________.                        


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




9.

When a subclass is derived from a derived class then this mechanism is known as the __________________ inheritance.                        


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




10.

The mechanism of inheriting the features of more than one base class into a single class is known as _________________ inheritance.                        


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




11.

________________ does not support multiple inheritance but the multiple inheritance can be achieved by using the interface.                        


A. C B. CPP
C. JAVA D. PHP




12.

___________________ is used to access the members of the super class.                        


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




« prev

1

2

3

4

5

6

7

next »

 
 



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