?? student.java
字號(hào):
package testovernet;
import java.io.*;
import java.net.*;
public class Student
implements Serializable {
protected int testNum;
protected int age;
protected int score;
protected String name;
protected String sex;
public Student() {
}
public Student(int testNum, String name, int age, String sex) {
this.testNum = testNum;
this.name = name;
this.age = age;
this.sex = sex;
}
public void printStudentInfo() {
System.out.print("TestNo : \t");
System.out.println(testNum);
System.out.print("Name : \t\t");
System.out.println(name);
System.out.print("Age : \t\t");
System.out.println(age);
System.out.print("Sex : \t\t");
System.out.println(sex);
}
public void setScore(int score) {
this.score = score;
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -