O'Reilly logo

Object-oriented Programming Using C++ and Java by Anand Vasappanavara, Gautam Vasappanavara, Ramesh Vasappanavara

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required