3
Extensibility and Reusability – Inheritance at Work
LEARNING OBJECTIVES
At the end of this chapter, you should be able to understand the concepts of OOP paradigm regarding
Extending and deriving of new classes from existing classes.
Concepts of containment and inheritances.
Overloading and overriding base class functions.
Single and multiple inheritances.
Virtual functions.
Interfaces provided by Java language.
Run-time polymorphism and data binding and class as ADT.
OOP concepts like RTTI, decoupling and STL.
3.1 Extendibility and Reusability of OOP Paradigm
Classes have relationships amongst them which are responsible for making the OOP languages versatile and powerful. There are several tools and features provided by OOP languages ...
Get Object-oriented Programming Using C++ and Java 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.