| 😊 Yang | 😇 Sally | 😔 Kofi |
| 🙂 Jiao | 🤭 Yawo | 😀 Bob |
| 😁 Mary | 😃 Khawla | 🤫 Zada |
| Person 😊 firstName |
Recall our collection of many balls (objects).
Let's define an object type for Ball and give it these properties:
Let's define an object type for Rectangle and give it these properties:
Here is another perspective.| Concept | Also Called | Count | Quick Description |
|---|---|---|---|
| Type | Class (Next Chapter) | One | A single definition (e.g. "Person") |
| Object | Instance | Zero to many | Actual person objects. For example: "Zada", "Yang", "Yawo", "Bob", ... |
| Property | Field, Varibable, or Attribute | Zero to many for a given type | Aspects of an object like "width" and "height" (e.g. for a Rectangle type) |