binaryquestion.java

来自「考试系统」· Java 代码 · 共 42 行

JAVA
42
字号
/*
 * Created on 2004-4-28
 *
 * To change the template for this generated file go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
package paper;

/**
 * @author SpiritRain
 *
 * Binary Question,an implementation of AbstractQuestion 
 * 
 */
public class BinaryQuestion extends AbstractQuestion {

	/**
	 * Create a new Binary Question and initiate variables  
	 * @param qutestionText question string to discribe the question
	 * @param answers answer of the question
	 * @param hint hint of the question
	 * @param score score of the question
	 * @param diff difficulty of the question
	 */
	public BinaryQuestion(
		String qutestionText,
		AbstractAnswerSet answers,
		String hint,
		int score,
		int diff) {
		super(qutestionText, answers, hint, score, diff);
	}

	/* (non-Javadoc)
	 * @see paper.AbstractQuestion#getType()
	 */
	public int getType() {
		return BINARY;
	}

}

⌨️ 快捷键说明

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