1.

Compare objects and classes.

Answer»

A class is a definition of an object. It is a data type like int. A class is a type, and an object of this class is just like a variable. In other words, the class is a blueprint and an object can be considered as any real-time entity (existing thing) that can perform a set of related activities.



Discussion

No Comment Found