How does a class represent attributes and behaviour?
Answers
Answered by
0
Explanation:
Attributes are the characteristics of the class that help to distinguish it from other classes. Behaviors are the tasks that an object performs. A person's attributes, for example, include their age, name, and height, while their behaviors include the fact that a person can speak, run, walk, and eat.
Similar questions