Tag Archives: public

Inheritance. Basic concepts. Base class and derived class. The keyword ‘extends’. Hiding data in derived classes. Access modifiers private, protected, public




Continue reading Inheritance. Basic concepts. Base class and derived class. The keyword ‘extends’. Hiding data in derived classes. Access modifiers private, protected, public

Destructors. Definition of the destructor. Public and private destructors. Examples of destructors using. Differences between constructors and destructors




Continue reading Destructors. Definition of the destructor. Public and private destructors. Examples of destructors using. Differences between constructors and destructors

C++. Class constructor. Features of use constructors in the classes. The default constructor. Parameterized constructors. Examples of classes that contain constructors




Continue reading C++. Class constructor. Features of use constructors in the classes. The default constructor. Parameterized constructors. Examples of classes that contain constructors

C++. Classes. Part 1. The concept of class. Declaring a data type “class”. The object of the class. Classes in the CLR. Encapsulation of data in a class




Continue reading C++. Classes. Part 1. The concept of class. Declaring a data type “class”. The object of the class. Classes in the CLR. Encapsulation of data in a class