正在加载图片...
(2)创建子类对象时,构造方法的执行过程? (3)Protected修饰符如何应用? (4)Super如何使用? 融入点:讲文化传承,说明子类对父类的继承。 第二节0 verriding methods 1.主要内容 (1)Overriding methods (2)Shadowing variables (3)The final modifier 2.基本概念和知识点 ()A child class can override (redefine)the parent's definition of an inherited method. (2)If a variable of the same name is declared in a child class, it is called a shadow variable. 3.问题与应用(能力要求) (1)方法和变量用final修饰有什么区别? (2)什么场合使用重载和隐藏变量? 融入点:西方文化,我们要取其精华,弃其糟粕,通过重写内化为中国特 色的方法。 第三节Class Hierarchies 1.主要内容 (1)The Object class (2)Abstract classes (3)Interface Hierarchies 2.基本概念和知识点 (1)A child class can override (redefine)the parent's definition of an inherited method. (2)The child of one class can be the parent of one or more other classes,creating a class hierarchy. (3)Common features should be located as high in a class hierarchy as is reasonably possible. (4)All Java classes are derived,directly or indirectly,from the Obiect class. (5)The toString and equals methods are inherited by every class in every Java program.23 (2) 创建子类对象时,构造方法的执行过程? (3) Protected 修饰符如何应用? (4) Super 如何使用? 融入点:讲文化传承,说明子类对父类的继承。 第二节 Overriding Methods 1.主要内容 (1) Overriding methods (2) Shadowing variables (3) The final modifier 2.基本概念和知识点 (1) A child class can override (redefine) the parent ’ s definition of an inherited method. (2) If a variable of the same name is declared in a child class, it is called a shadow variable. 3.问题与应用(能力要求) (1) 方法和变量用 final 修饰有什么区别? (2) 什么场合使用重载和隐藏变量? 融入点:西方文化,我们要取其精华,弃其糟粕,通过重写内化为中国特 色的方法。 第三节 Class Hierarchies 1.主要内容 (1) The Object class (2) Abstract classes (3) Interface Hierarchies 2.基本概念和知识点 (1) A child class can override (redefine) the parent ’ s definition of an inherited method. (2) The child of one class can be the parent of one or more other classes, creating a class hierarchy. (3) Common features should be located as high in a class hierarchy as is reasonably possible. (4) All Java classes are derived, directly or indirectly, from the Object class. (5) The toString and equals methods are inherited by every class in every Java program
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有