what is it?

Object Oriented Programming is one of many language paradigms. A language paradigm is a pattern that sets out how to solve problems. Some languages have one paradigm and some have many. C++ has many, which means that it can be used to write in OOP but is not a pure OOP language (Smalltalk is). One of the reasons for creating C++ was to add extend C to have OOP.

OOP is a method of using objects to hold properties and values. This allows us to create self-contained, reusable packages.

OOP sets out to follow the real-world entities of inheritance, polymorphism, encapsulation and abstraction – which will be explored in the next four lessons.