📄 student.java~6~
字号:
package testovernet;import java.io.*;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; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -