0

Please I need better explanations on objects and classes.

17th Feb 2018, 8:44 PM
Bruno ELOMBO
Bruno ELOMBO - avatar
2 Answers
+ 8
objects represents real objects in world like tree, car, house... and classes group related objects which have same attributes and behavior, for example: car is a class and conrecete cars are objects like bmw, audio, opel...
17th Feb 2018, 8:48 PM
Vukan
Vukan - avatar
+ 1
Just think of class as your house and objects as the things in your house.Class is a group of similar objects,which in this case are the objects in your house.What is the similarity?They belong to you. Hope you understood.
17th Feb 2018, 10:37 PM
Rahul Shinde
Rahul Shinde - avatar