example of difference between class and object..comp.
Answers
Answered by
1
Explanation:
A class is a template for creating objects in program whereas the object is an instance of a class. A class is a logical entity while object is a physical entity. A class does not allocate memory space on the other hand object allocates memory space. ... Classes doesn't have any values, whereas objects have its own values.
Similar questions