differnce between class and object
please say exact difference between class and object
hi, Here I am explaining the differences between Class and Object hope this will helpful for you.
In Java Class is a template or blueprint which consists of the data members, methods and its definition whereas, object is an instance of class.
Class is used to create objects whereas, object represents the real world entity.
Class defines the real world entity states and behavior whereas, the software bundle of these concerned states and behavior is object.