We have already studied user-defined data types in the form of classes. The classes lie at the heart of a programming methodology called object-oriented paradigm or Object-oriented Programming (OOP). It includes several concepts like polymorphism, encapsulation, data hiding, data abstraction, and inheritance. In this chapter, we shall study these concepts.
Object-oriented programming revolves around the notion of objects. A method/operator ...