+ 1

What is an object ,and its uses

8th Mar 2018, 6:33 AM
divya
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.
8th Mar 2018, 8:38 AM
D_Stark
D_Stark - avatar
+ 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.
8th Mar 2018, 7:10 AM
cHiRaG GhOsH
cHiRaG GhOsH - avatar
+ 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.
12th Mar 2018, 2:54 AM
Rusty.Metal