Inheritance in java
Single Inheritance Hybrid Inheritance Multiple Inheritance Multi-level Inheritance
2) Inheritance in which one class serves as a superclass (base class) for more than one sub class, this type of inheritance is known as ........
Single Inheritance Hybrid Inheritance Multiple Inheritance Hierarchical Inheritance
3) How many types if Inheritance are there ?
Two Eight Four Five
4) Java does not support ......... inheritance with classes.
Single Multi-level Multiple none of the above.
5) mix of any two or more of types of inheritance is known as .........
Single Inheritance Multi-level Inheritance Multiple Inheritance Hybrid Inheritance
6) A subclass does not inherit the ............ members of its parent class.
Private protected Public none of the above
7) Which part of parent class is NOT inherited by sub-class ?
Fields constructors methods non of the above.
8) Why we use 'extends' keyword in java.
To break the program To Inherit members from a class To change the line None of the above.
Number of score out of 8 = Score in percentage =