разница между объектом и классом
// Class:
1. A class is a template for creating objects in program.
2. A class is a logical entity
3. A class does not allocate memory space when it is created.
4. You can declare class only once.
5. Class generates objects
// objects;
1. The object is an instance of a class.
2. Object is a physical entity
3. Object allocates memory space whenever they are created.
4. You can create more than one object using a class.
5. Objects provide life to the class.
Tiny Coders