?? information.java
字號:
import java.io.*;
public class Information implements java.io.Serializable
{
protected String userName;
protected int score;
protected Information next;
public Information(String pName,int pScore)
{
this.userName=pName;
this.score=pScore;
this.next=null;
}
public Information(String pName,int pScore,Information pNext)
{
this.userName=pName;
this.score=pScore;
this.next=pNext;
}
public Information()
{
this(null,-1);
}
public void setUserName(String pName)
{
this.userName=pName;
}
public void setScore(int pScore)
{
this.score=pScore;
}
public String getUserName()
{
return this.userName;
}
public int getScore()
{
return this.score;
}
public Information getNext()
{
return this.next;
}
public void setNext(Information pNext)
{
this.next=pNext;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -