Introduction to OOP | Chapter 1: Thinking Object-Oriented : | next | previous | audio | real | text |
The behavior I expect from Fred is determined from a general idea I have of the behavior of Florists.
We say Fred is an instance of the class Florist.
Behavior is associated with classes, not with individual instances. All objects that are instances of a class use the same method in response to similar messages.