Javaд??????????????
???????????? ???????[ 2015/11/6 11:16:14 ] ??????????????? ???????????
?????????????Java?????????????????????????????????????????????????????????????????????????????List?????д????????????????????????????????????????????+swing????????н??????????????????????????????
????????д?????????List????????????????
???????????????????????????????????????????????д??????
package bean;
public class Student {
String name;
String studentId;
String sex;
int grade;
public Student(String name??String studentId??String sex??int grade){
this.name= name;
this.studentId= studentId;
this.sex = sex;
this.grade = grade;
}
public int getGrade(){
return grade;
}
public String getName(){
return name;
}
public String getSex(){
return sex;
}
public void setGrade(int g){
this.grade = g;
}
public String getStudentId(){
return studentId;
}
}
?????????漲?????Щ???????????????????Щget??????????????set?????????????????????????
??????????????????????
??????????????????swing???????棬???????????????????????????????????????棺
????System.out.println("***************");
????System.out.println("*???????????????? *");
????System.out.println("*1????????? *");
????System.out.println("*2???????? *");
????System.out.println("*3??????? *");
????System.out.println("*4???????? *");
????System.out.println("***************");
????System.out.println("??????????????");
????????????????????????????1234???????????????ò??????Java??λ???????????????????---------Scanner ??????????????????import???????????
????????????:
????import java.util.*;
???????????д????????
????Scanner sc = new Scanner(System.in);
????int choice = sc.nextInt();
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11