文件名称:java
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- 张*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
写一个人类person,其数据成员为char ﹡name int age 表示姓名和年龄,写出其构造函数设PX是一个指向类动态的指针变量,则执行delete px 语句时,将自动调用该类的()3,若需要把一个函数,voidF() 定义为一个类AB的友元函数,则应在类AB的定义中加入一条语句:()
4编程题
1,写一个人类person,其数据成员为char ﹡name int age 表示姓名和年龄,写出其构造函数,拷贝构造函数,析构函数。
A。假定每月都是30天,每年都是360天。
B。通过主函数定义一个DATE类对象,调用重载函数,输出相加后的新日期。-Write a human person, the data members char* name int age that name and age, to write the constructor set PX is a pointer variable pointing to the dynamic class, you perform delete px statement, it will automatically call the class of () 3, For want of a function, voidF () defined as a class AB, a friend function, should be the definition of the class AB to add a statement: () 4 1 programming problem, write a human person, the Data members char* name int age that name and age, to write its constructor, copy constructor, destructor. A. Assume that is 30 days per month, every year 360 days. B. DATE main function is defined by a class object, call the overloaded function, the output sum of the new date.
4编程题
1,写一个人类person,其数据成员为char ﹡name int age 表示姓名和年龄,写出其构造函数,拷贝构造函数,析构函数。
A。假定每月都是30天,每年都是360天。
B。通过主函数定义一个DATE类对象,调用重载函数,输出相加后的新日期。-Write a human person, the data members char* name int age that name and age, to write the constructor set PX is a pointer variable pointing to the dynamic class, you perform delete px statement, it will automatically call the class of () 3, For want of a function, voidF () defined as a class AB, a friend function, should be the definition of the class AB to add a statement: () 4 1 programming problem, write a human person, the Data members char* name int age that name and age, to write its constructor, copy constructor, destructor. A. Assume that is 30 days per month, every year 360 days. B. DATE main function is defined by a class object, call the overloaded function, the output sum of the new date.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ren.java
复件 (2) ren.java
复件 (3) ren.java
复件 (4) ren.java
复件 (5) ren.java
复件 ren.java
复件 (2) ren.java
复件 (3) ren.java
复件 (4) ren.java
复件 (5) ren.java
复件 ren.java