Objects with state and behaviour, the class as a blueprint and object factory, and message passing between objects.
In this chapter
- Real-world objects: state and behaviour
- Turning real objects into software objects: data members and methods
- A class as a blueprint (specification) for objects
- A class as an object factory: new, instances and separate state
- Objects talking by message passing (method calls)
- A class as a user-defined data type
- Exam tips: class vs object, and modelling a real thing