filmov
tv
[C++] How to create class and object in C++

Показать описание
In Object Oriented Programming (OOP), Class is defined as a user defined data type, which holds its own data members and member functions, which can be accessed and used by creating an instance of that class while object is knows as an instance of a Class. When a class is defined, no memory is allocated but when it is instantiated memory is allocated.