 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| • |
First,
let’s talk about some terminology
|
|
|
|
• |
Think
of a class as the same as a data type
|
|
|
|
• |
Think
of an object as the same as a variable
|
|
|
| • |
An
“object” is an instance of a class
|
|
|
|
• |
Just
like a “variable” is an instance of a specific
|
|
|
|
data
type
|
|
|
| • |
We
can zero or more variables (or objects) in
|
|
|
our
programs
|
|