最病 过摘要 7 口三个世界:面向对象的建模 口面向对象原则 口类:对象程序静态的结构 口对象:运行时刻的结构 口对象创建:从类到对象 口对象引用:对象串起来 Institute of Computer Software 2021/215 Nanjing University
摘要 2021/2/5 Institute of Computer Software Nanjing University 7 三个世界: 面向对象的建模 面向对象原则 类:对象程序静态的结构 对象:运行时刻的结构 对象创建:从类到对象 对象引用:对象串起来
最病 过面向对象原则 Object orientation EoEo Institute of Computer Software, Nanjing University 2021/215
面向对象原则 Institute of Computer Software, Nanjing University 2021/2/5 8 Object Orientation Abstraction Encapsulation Inheritance Polymorphism
最病 过面向对象原则 Object orientation EoEo Institute of Computer Software, Nanjing University 2021/215
面向对象原则 Institute of Computer Software, Nanjing University 2021/2/5 9 Object Orientation Abstraction Encapsulation Inheritance Polymorphism
过回顾:抽象数据类型 抽象数据类型(ADT):用数学方法定义对象集 合和运算集合,仅通过运算的性质刻画数据对 象,而独立于计算机中可能的表示方法 口ADT规约方法 口代数规范 ■语法部分,公理部分 口ADT实现 E1E2E3 Institute of Computer Software, Nanjing University 2021/215
回顾:抽象数据类型 Institute of Computer Software, Nanjing University 2021/2/5 10 抽象数据类型(ADT):用数学方法定义对象集 合和运算集合,仅通过运算的性质刻画数据对 象,而独立于计算机中可能的表示方法 ADT规约方法 代数规范 ◼ 语法部分,公理部分 ADT实现 E1,E2,E3
最病 过面向对象原则 Object orientation EoEo Institute of Computer Software, Nanjing University 2021/215
面向对象原则 Institute of Computer Software, Nanjing University 2021/2/5 11 Object Orientation Abstraction Encapsulation Inheritance Polymorphism