question.java

来自「基于struts框架编写的在线考试系统」· Java 代码 · 共 94 行

JAVA
94
字号
package examonline.beans;

import java.io.*;

public class Question
    implements Serializable {
  private int id;
  private String detail;
  private String standardAnswer;
  private String choices;
  private int level;
  private String note;
  private String type;
  private int score;
  
  public int getScore() {
	return score;
}

public void setScore(int score) {
	this.score = score;
}

public String getType() {
	return type;
}

public void setType(String type) {
	this.type = type;
}

public Question() {
    try {
      jbInit();
    }
    catch (Exception ex) {
      ex.printStackTrace();
    }
  }

  public void setId(int id) {
    this.id = id;
  }

  public void setDetail(String detail) {
    this.detail = detail;
  }

  public void setStandardAnswer(String standardAnswer) {
    this.standardAnswer = standardAnswer;
  }

  public void setChoices(String choices) {

    this.choices = choices;
  }

  public void setLevel(int level) {
    this.level = level;
  }

  public void setNote(String note) {
    this.note = note;
  }

  public int getId() {
    return id;
  }

  public String getDetail() {
    return detail;
  }

  public String getStandardAnswer() {
    return standardAnswer;
  }

  public String getChoices() {

    return choices;
  }

  public int getLevel() {
    return level;
  }

  public String getNote() {
    return note;
  }

  private void jbInit() throws Exception {
  }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?