正在加载图片...
(2)Attributes and operations (3)Object in the memory (4)Instance data (5)UML class diagrams 2.基本概念和知识点 (1)The heart of object-oriented programming is defining classes that represent objects with well-defined state and behavior. (2)The scope of a variable,which determines where it can be referenced,depends on where it is declared. (3)A UML class diagram helps us visualize the contents of and relationships among the classes of a program. 3.问题与应用(能力要求) 掌握类和对象的概念。 融入点:以党和党员的关系说明类和对象的关系,深化理解坚持和加强党 的全面领导。 第二节Encapsulation 1.主要内容 (1)Visibility Modifiers (2)Accessors and Mutators 2.基本概念和知识点 (1)Public,private,protected,final (2)Get and set methods (3)An object should be encapsulated,guarding its data from inappropriate access. (4)Instance variables should be declared with private visibility to promote encapsulation. (5)Most objects contain accessor and mutator methods to allow the client to manage data in a controlled manner. 3.问题与应用(能力要求) 理解不同访问权限的范围,学会使用实现封装。 融入点:引入习近平主席把权力关进制度的笼子里,讲解访问权限关键词 第三节Method and Constructors 1.主要内容 (1)Method Declarations11 (2) Attributes and operations (3) Object in the memory (4) Instance data (5) UML class diagrams 2.基本概念和知识点 (1) The heart of object-oriented programming is defining classes that represent objects with well-defined state and behavior. (2) The scope of a variable, which determines where it can be referenced, depends on where it is declared. (3) A UML class diagram helps us visualize the contents of and relationships among the classes of a program. 3.问题与应用(能力要求) 掌握类和对象的概念。 融入点:以党和党员的关系说明类和对象的关系,深化理解坚持和加强党 的全面领导。 第二节 Encapsulation 1.主要内容 (1) Visibility Modifiers (2) Accessors and Mutators 2.基本概念和知识点 (1) Public,private,protected,final (2) Get and set methods (3) An object should be encapsulated, guarding its data from inappropriate access. (4) Instance variables should be declared with private visibility to promote encapsulation. (5) Most objects contain accessor and mutator methods to allow the client to manage data in a controlled manner. 3.问题与应用(能力要求) 理解不同访问权限的范围,学会使用实现封装。 融入点:引入习近平主席把权力关进制度的笼子里,讲解访问权限关键词。 第三节 Method and Constructors 1.主要内容 (1) Method Declarations
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有