Objects
Think of objects as instances, things, items, nouns, etc.
Examples: a Person, a Ball, a Rectangle.
Another term we will use for "object" interchangeably with "instance".
Note how we 'Objects' is plural. We can have zero to many objects.
Persons
Here we have a simple collection of persons.
Each "person" is one object. So we have nine objects.
😊
Yang
😇
Sally
😔
Kofi
🙂
Jiao
🤭
Yawo
😀
Bob
😁
Mary
😃
Khawla
🤫
Zada
Balls
Here we have a collection of balls.
Each "ball" is one object.
Rectangles
Here we have a collection of rectangles.
Each "rectangle" is one object.
Introduction To Objects With Java (Chapter 301 - Object Types and Objects)
Chapter 301 - Object Types and Objects
Chapter Contents
Overview
Objects
Object Types
Properties
Summary
Refs
Examples
Chapter
Top
Search
TOC