OO Concept sampler
Consider the automobile (car) you drive.
List the behaviors (functions) of this automobile.
- The ones you have control over define the user-interface of the automobile.
- The internal behavior defines the private functionality. As a user you have no control over the implementation of these.
List the attributes (parts) of the automobile.
- You have access to some. Example: steering wheel, brakes, head-lights, wipers….
- You do not have access to some others: Odometer