第九章 面向对象程序设计:继承.pptVIP

  • 4
  • 0
  • 约4.65万字
  • 约 125页
  • 2016-11-18 发布于浙江
  • 举报
第九章 面向对象程序设计:继承

9.1 Introduction Inheritance Software reusability Create new class from existing class Absorb existing class’s data and behaviors Enhance with new capabilities 9.1 Introduction Inheritance Derived class(派生类) inherits from base class(基类) Derived class More specialized group of objects Behaviors inherited from base class Can customize Additional behaviors 9.1 Introduction Class hierarchy(类层次结构) Direct base class(直接基类) Inherited explicitly (one level up hierarchy) Indirect base class(间接基类) Inherited two or more levels up hierarchy 9.1 Introduction Class hierarchy(类层次结构) Single inheritance(单一继承) I

文档评论(0)

1亿VIP精品文档

相关文档