DAY 3
Characteristics of C++: C++ is not a purely object-oriented language but a hybrid that contains the functionality of the C programming language. This means that you have all the features that are avail- able in C: ■ universally usable modular programs ■ efficient, close to the machine programming ■ portable programs for various platforms. The large quantities of existing C source code can also be used in C++ programs. C++ supports the concepts of object-oriented programming (or OOP for short), which are: ■ data abstraction, that is, the creation of classes to describe objects ■ data encapsulation for controlled access to object data. ■ inheritance by creating derived classes (including multiple derived classes) ■ polymorphism (Greek for multiform), that is, the implementation of instructions that can have varying effects during program execution. Various language elements were added to C++, such as references, templates, and excep- tion handling. Even though these elements of the l...