+ 1
What is an object ,and its uses
3 Answers
+ 4
As far as im aware objects have states and behaviors and stored in heap once created, The Variable/Refrence to that object is stored in stack memory.
+ 3
An object is an instance of a class.
Suppose, the prototype of a car is class. Then the original cars created from it are the objects.
+ 3
An object is an instance of a class for which you define it. Consider class as a blueprint, then an object is what you make out of it.