用java数组实现学生管理.docxVIP

  • 8
  • 0
  • 约4.63千字
  • 约 5页
  • 2021-08-26 发布于河北
  • 举报
精品文档 精品文档 PAGE PAGE #欢迎下载 。 精品文档 精品文档 PAGE PAGE #欢迎下载 。 建立一个 Student 类代码如下 package .xcu.student; import java.util.Scanner; public class Student { public int Id; public String Name; public int Age; public String Sex; public double Height ; Student stu []= newStudent[20]; int age,String sex, doubleScanner scan = newScanner(System. in ); int age,String sex, double public Student( int id, String name, height){ this . Id =id; this . Name=name; this . Age=age; this . Sex=sex; this . Height =height; } public Student() { 王彦 , 21, 男 , 170); 李浩洋 , 21, 男, 170); 张虎成 , 21, 男, 170); 朱克飞 , 21,

文档评论(0)

1亿VIP精品文档

相关文档