Differentiate classes and objects.
- Class is a blueprint or template from which objects are created.
- Class doesn’t allocate memory when it is created.
- Class is a logical entity.
- The object is an instance of a class.
- Objects allocate memory when it is created.
- The object is a physical entity.
Concept: Introduction to Object Oriented Programming Techniques
Is there an error in this question or solution?