What’s the difference between and object and a class?
Utilisateur anonyme
Object is an instance of Class. A class can have multiple object. An object can not point(represent) multiple object. Class contain data and function(that are used to modify data as per requirement). Object makes copy of that class in memory. Class is like human. Objects are like male and female(different instance of human). Class is a user defined data structure. Object is varible of type class(to which it is pointing).