revised: 8/30/99, 01/20/00, 07/13/02, 01/17/06
CHAPTER 25 — Objects
Until now, we have not been doing much with objects. This chapter discusses objects and classes, and how an object-oriented language like Java is different from languages that are not object-oriented.
Chapter Topics:
- What is an Object?
- What is a Class?
- Characteristics of Objects
- Static Methods
- Constructors
- Cookie Cutters
- Dot Notation
Forget programming for a while. Think about the World and the things that are in it. What things are objects? What things are not objects? This is actually a difficult problem which has occupied philosophers for thousands of years. Don't be too worried if it is not immediately clear to you.
QUESTION 1:
List four objects and list four non-objects.
| Objects | Non-objects | |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 | ||
| 4 |