?? questionresult.java
字號:
/**
* TestResultItem.java
* 本代碼為教育目的而編寫,但遵循產品代碼規范。
* 任何人任何時候都可以使用此代碼,但需說明引用的代碼來源于
* www.fangsoft.org。
* 歡迎任何建議。
* 訪問我們:
* 電子郵件:fangsoft.com@gmail.com
* 網站: www.fangsoft.org
* =====================================
* This code is for software education,but it follows production code quality.
* Anyone can use this code anywhere, but you should comment the code is from
* www.fangsoft.org.
* Any suggestion from you is appreciated.
* Visit us by
* email: fangsoft.com@gmail.com
* websiste: www.fangsoft.org
*/
package fangsoft.testcenter.model;
/**
* @author fangsoft
* 2007-2-10
*
*/
public class QuestionResult {
private Question question;
private int score=-1;
private String rightanswer;
private String answer;
private String result;
private int questionnum;
public int getQuestionnum() {
return questionnum;
}
public void setQuestionnum(int questionnum) {
this.questionnum = questionnum;
}
public String getAnswer() {
return answer;
}
public void setAnswer(String answer) {
this.answer = answer;
}
public Question getQuestion() {
return question;
}
public void setQuestion(Question question) {
this.question = question;
}
public int getScore() {
return score;
}
public void setScore(int score) {
this.score = score;
}
public String getResult() {
return result;
}
public void setResult(String result) {
this.result = result;
}
public String getRightanswer() {
return rightanswer;
}
public void setRightanswer(String rightanswer) {
this.rightanswer = rightanswer;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -