February 2019
Beginner
504 pages
14h 34m
English
Programming mainly aims at describing and solving problems in the real world. Class in C++ effectively adopts human thinking methods of abstraction and classification. The relationship between an object and a class appropriately reflects the relationship between an individual and a group that has common features. A closer observation of the real world reveals that different things are not independent from each other, but instead they have complicated relationships. Inheritance is one such relationship. For example, children often resemble their parents, while clear distinctions exist between them. Both cars and bicycles belong to an abstract category: vehicles, but they differ from each other not only in appearance ...