EXERCISES
- What do you understand by the term multiple inheritance?
- Why access specifier protected is useful in multilevel inheritance?
- Explain ‘Ambiguity Resolution in Multiple Inheritances’.
- What is the practical problem (difficulty) with multipath inheritance? How is it solved?
- Write a detailed note on classification of inheritance.
- What are the different forms of inheritance supported by C++? Explain by writing statements of each type.
- What type of relationship exists between class StraightLine and class Point? Write a simple program to illustrate your answer.
- What type of relationship exists between class Manager and class Employee? Write a simple program to illustrate your answer.
- Consider a case of university having the disciplines of ...
Get Object Oriented Programming with C++, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.