First page Back Continue Last page Graphics
Class
A class is a category or group of things that have similar attributes and common behaviors.
e.g. class of washing machines.
- Attributes: brand name, model, serial number, and capacity.
- Behaviors: “add clothes”, “add detergent”, “turn on”, and “remove clothes”.