+ 4
How definition of a class defines the behavior of an object?
2 Answers
+ 7
By methods (member functions) of the class
+ 6
Umm.
What I can say here is :
When you define a class you define data members as private or public.
So it defines that object can access that data members or not.
Definition of class defines that what that perticular object can access.