0
A class in the example of human behavior is all the package (walk, eat, sleep etc) or every behavior separately is called class?
A question to make sure that I got classes right in my mind .
1 Odpowiedź
+ 1
no every behaviour is not a class...a class as a human being has many attributes and behaviour ..attributes are the physical specifics and behaviour are its functions like walk,eat,etc.. in functions attributes are its data members and behaviour are its functions...