出题代码
package com.app.senior_calculator; import java.io.Serializable; public class Question implements Serializable{
static final long serialVersionUID = -4320724374354337825L;
private String Exercise;
private String Answer;
private int CountNumber; public Question(String exercise,String answer, int countNumber) {
this.Answer=answer;
this.Exercise=exercise;
this.CountNumber=countNumber;
}
public Question() {
this.Exercise="";
this.Answer="";
this.CountNumber=0;
}
public String getExercise() {
return Exercise;
}
public void setExercise(String exercise) {
this.Exercise = exercise;
}
public String getAnswer() {
return Answer;
}
public void setAnswer(String answer) {
Answer = answer;
}
public int getCountNumber() {
return CountNumber;
}
public void setCountNumber(int countNumber) {
CountNumber = countNumber;
}
}