+ 1
What i can do by object .what is object use
2 ответов
+ 1
everythink is object. it can do everythink
0
object are used to acces the class,
take an example, like if we talk about Vehicle.
all vehicles like bus, car , bike, bicycle, plane , etc come under same category name Vehicle.
if we need to travel somewhere we never say that let's go from vechicle, we always say lets go from bike or car ,etc.
so here Vechicle is a class. and rest are object which are used to acces the class.