revised: 8/30/99, 01/20/00, 07/13/02, 01/17/06
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.
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.
List four objects and list four non-objects.
Objects | Non-objects | |
---|---|---|
1 | ||
2 | ||
3 | ||
4 |