构造函数、默认构造函数、 缺省构造函数(Constructor, default constructor, default constructor).docVIP

  • 27
  • 0
  • 约1.69万字
  • 约 18页
  • 2017-07-29 发布于河南
  • 举报

构造函数、默认构造函数、 缺省构造函数(Constructor, default constructor, default constructor).doc

构造函数、默认构造函数、 缺省构造函数(Constructor, default constructor, default constructor)

构造函数、默认构造函数、 缺省构造函数(Constructor, default constructor, default constructor) For the above example, it has been able to do most of the work, but it is still incomplete, and there are many details to be perfected! Some students may have noticed that when I created the Jingwei object, all the attributes of the object is empty, that is to say: the name of the object is uncertain, the age is uncertain, sex is uncertain, the salary is uncertain, lunch is undecided. And we want to add all of these attributes, we must use the object call the corresponding method, to modify one by one! Oh, my God, its t

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档