首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 编写一个学生类,包含属性有:学号、姓名、性别、年龄等。将5个学生对象存储在一个数组中,实现如下操作: (1)根据学号查询某个学生; (2)将...

编写一个学生类,包含属性有:学号、姓名、性别、年龄等。将5个学生对象存储在一个数组中,实现如下操作: (1)根据学号查询某个学生; (2)将...

资 源 简 介

编写一个学生类,包含属性有:学号、姓名、性别、年龄等。将5个学生对象存储在一个数组中,实现如下操作: (1)根据学号查询某个学生; (2)将所有学生的年龄增加一岁; (3)按数组中顺序显示所有学生信息; (4)将所有学生按照年龄由小到大排序输出。 -The preparation of a student category, including the attributes are: school number, name, gender, age and so on. Five students will be stored in an array of objects, the realization of the following steps: (1) No. According to learn a student inquiries (2) All students will increase one-year-old age (3) by an array of all students in the order of display information (4) all students will sort the output in accordance with the age from small to big.

文 件 列 表

student.txt
VIP VIP
0.155678s