C++ as Object Oriented Language
Understand the origins of object-oriented programming in C++, including the introduction of classes, objects, inheritance, and polymorphism. Learn why C++ is considered partially object-oriented and how it compares with other languages like Java and C#. This lesson prepares you for advanced OOP topics in subsequent chapters.
We'll cover the following...
We'll cover the following...
Origin of OOP in C++
C is a procedural language and it was used and trusted by programmers at large. When the object-oriented paradigm was being introduced, Bjarne Stroustrup incorporated the object orientation features in C and hence introduced C++.
Concepts in OOP
Soon C++ became widely acceptable ...