Wanna $10??? klik & register now!!!

Kamis, 15 April 2010

Object Characteristics

  1. Every object has a status or (state / fields / attributes / data)
  2. Every object has a behavior (behavior / method / function / procedure)
  3. Example: object bicycle
  • Having a state: speed, engine rpm, gear position, color, the number of wheels.
  • Having a behavior: speed (accelerate), slow rate (break), moving gear, changing colors

Tidak ada komentar:

Posting Komentar