正在加载图片...
的国家和社会组成(社会形态、种族构成等),尝试利用二维数组进行管 理和分类。 (三)思考与实践 ()数组作为参数传递的时候和基本变量,对象的传递有什么区别? (四)教学方法与手段 以课堂讲授为主。 第八章Inheritance (一)目的与要求 1.Explore the derivation of new classes from existing ones 2.Define the concept and purpose of method overriding. 3.Discuss the design of class hierarchies. 4.Discuss the issue of visibility as it relates to inheritance 5.Explore the ability to derive one interface from another. 6.Discuss object-oriented design in the context of inheritance 7.Describe the inheritance structure for GUI components. (二)教学内容 第一节Creating Subclasses 1.主要内容 (1)How to create subclass (2)The protected modifier (3)The super reference (4)Multiple inheritance 2.基本概念和知识点 (1)Inheritance is the process of deriving a new class from an existing one. (2)One purpose of inheritance is to reuse existing software. (3)Inheritance creates an is-a relationship between the parent and child classes. (4)Protected visibility provides the best possible encapsulation that permits inheritance. (5)A parent's constructor can be invoked using the super reference. 3.问题与应用(能力要求) (1)创建子类对象后,其内存存储情况如何? 22 22 的国家和社会组成(社会形态、种族构成等),尝试利用二维数组进行管 理和分类。 (三)思考与实践 (1) 数组作为参数传递的时候和基本变量,对象的传递有什么区别? (四)教学方法与手段 以课堂讲授为主。 第八章 Inheritance (一)目的与要求 1.Explore the derivation of new classes from existing ones. 2.Define the concept and purpose of method overriding. 3.Discuss the design of class hierarchies. 4.Discuss the issue of visibility as it relates to inheritance. 5.Explore the ability to derive one interface from another. 6.Discuss object-oriented design in the context of inheritance. 7.Describe the inheritance structure for GUI components. (二)教学内容 第一节 Creating Subclasses 1.主要内容 (1) How to create subclass (2) The protected modifier (3) The super reference (4) Multiple inheritance 2.基本概念和知识点 (1) Inheritance is the process of deriving a new class from an existing one. (2) One purpose of inheritance is to reuse existing software. (3) Inheritance creates an is-a relationship between the parent and child classes. (4) Protected visibility provides the best possible encapsulation that permits inheritance. (5) A parent’s constructor can be invoked using the super reference. 3.问题与应用(能力要求) (1) 创建子类对象后,其内存存储情况如何?
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有