Chapter 16: Inheritance - Online Test

Q1. When a derived class inherits only from one base class, it is known as
Answer : Option A
Explaination / Solution:
No Explaination.


Q2. When a derived class inherits from multiple base classes itis known as
Answer : Option B
Explaination / Solution:
No Explaination.


Q3. When more than one derived classes are created from a single base class , it is known as
Answer : Option C
Explaination / Solution:
No Explaination.


Q4. When a class is derived from a class which is a derived class itself - then this is referred to as
Answer : Option D
Explaination / Solution:
No Explaination.


Q5. Which of the followingis the process of creating new classes from an existing class
Answer : Option B
Explaination / Solution:
No Explaination.


Q6. Which of the following derives a class student from the base class school
Answer : Option B
Explaination / Solution:
No Explaination.


Q7. The type of inheritance that reflects the transitive nature is
Answer : Option C
Explaination / Solution:
No Explaination.


Q8. Which visibility mode should be used when you want the features of the base class to be available to the derived class but not to the classes that are derived from the derived class?
Answer : Option C
Explaination / Solution:
No Explaination.


Q9. Inheritance is process of creating new class from
Answer : Option A
Explaination / Solution:
No Explaination.


Q10. A class is derived from a class which is a derived class itself, then this is referred to as
Answer : Option B
Explaination / Solution:
No Explaination.