山东财经大学面向对象设计B-C-C++语言课件第3章 类和对象介绍.pptVIP

  • 10
  • 0
  • 约2.26万字
  • 约 93页
  • 2019-05-13 发布于香港
  • 举报

山东财经大学面向对象设计B-C-C++语言课件第3章 类和对象介绍.ppt

2 3 Introduction to Classes and Objects OBJECTIVES In this chapter you will learn: What classes, objects, member functions and data members are. How to define a class and use it to create an object. How to define member functions in a class to implement the classs behaviors. How to declare data members in a class to implement the classs attributes. How to call a member function of an object to make that member function perform its task. The differences between data members of a class and local variables of a function. How to use a constructor to ensure that an objects data is initialized wh

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档