0% found this document useful (0 votes)
11 views1 page

Inheritance Types and Concepts Explained

Uploaded by

rohithvipin02
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views1 page

Inheritance Types and Concepts Explained

Uploaded by

rohithvipin02
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

UNIT – 4

Short Answers (2 Marks) & Short Essays (5 Marks) Questions

1. Define Inheritance. What are the different types of Inheritance?


2. How do we define a derived class? Give its syntax.
3. What is Single Inheritance? Explain with a program.
4. How can we make a private member inheritable?
5. Differentiate between private, public & protected mode of inheritance.
6. Explain Hybrid Inheritance with a program.
7. What is meant by Abstract Classes?
8. What is meant by Nesting of Classes?

Essay (15 Marks) Questions

1. Differentiate between Multiple Inheritance & Multilevel Inheritance .


2. Differentiate between Multiple Inheritance & Hierarchical Inheritance .
3. Explain the concept of Virtual Base Classes with a program.
4. Explain Constructors in Derived Classes with example.

**************************************

You might also like