testtool.component.question
Class TrueFalseQuestion

java.lang.Object
  extended by testtool.component.question.Question
      extended by testtool.component.question.TrueFalseQuestion

public abstract class TrueFalseQuestion
extends Question

This TrueFalseQuestion class extends the question class and has an answer that the student submits and the correct answer.


Nested Class Summary
 
Nested classes/interfaces inherited from class testtool.component.question.Question
Question.QuestionType
 
Field Summary
private  boolean correctAnswer
           
private  boolean studentAnswer
           
 
Fields inherited from class testtool.component.question.Question
questionText, score
 
Constructor Summary
TrueFalseQuestion()
           
 
Method Summary
 
Methods inherited from class testtool.component.question.Question
getID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

correctAnswer

private boolean correctAnswer

studentAnswer

private boolean studentAnswer
Constructor Detail

TrueFalseQuestion

public TrueFalseQuestion()