How C++ uses inheritance, polymorphism object orientation, encapsulation, local classes, and nested classes

How C++ uses inheritance, polymorphism object orientation, encapsulation, local classes, and nested classes