+ 1
What is the different between class and object.?
give details....
3 Answers
+ 4
A class is an object definition, with its attributes and methods. An object is the instance of the class. In other words, a class is like a template that especifies the data type of the object; the object is the realization of the class.
+ 3
A class is an implantation of object and a object is an instance of a class..
+ 3
An analogy: think of a class as a rubber stamp, and an object being the printing on a sheet of paper every time you use the rubber stamp.