ZYBS网上书店英文文献.docVIP

  • 38
  • 0
  • 约1.95万字
  • 约 13页
  • 2019-05-04 发布于江西
  • 举报
What Is an Object? Objects are key to understanding object-oriented technology. You can look around you now and see many examples of real-world objects: your dog, your desk, your television set, your bicycle. Real-world objects share two characteristics: They all have state and behavior. For example, dogs have state (name, color, breed, hungry) and behavior (barking, fetching, wagging tail). Bicycles have state (current gear, current pedal cadence, two wheels, number of gears) and behavior (braking, accelerating, slowing down, changing gears). Software objects are modeled after real-world

文档评论(0)

1亿VIP精品文档

相关文档