?? student.java~5~
字號:
package stumanagement;
/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2007</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
public class Student {
String name;
String stuNum;
double score;
public Student() {
name = "";
stuNum = "";
score = 0.0;
}
public Student(String stuNum, String name, double score)
{
this.stuNum = stuNum;
this.name = name;
this.score = score;
}
public String getNum()
{
return stuNum;
}
public String getName()
{
return name;
}
public double getScore()
{
return score;
}
public String toString()
{
return stuNum + " " + name + " " + score;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -