questions
Class Question
java.lang.Object
questions.Question
- Direct Known Subclasses:
- FillInBlank, LongAnswer, Matching, MultipleChoice, Programming, ShortAnswer, TrueOrFalse
public abstract class Question
- extends java.lang.Object
A Question contains a question ID to identify questions, a subj parameter to specify the class the
question belongs in, the author of the question, the time required to finish the question, the
difficulty of the question, the type of question, the last time the question was used, and other kinds
of keywords to classify the question.
Method Summary |
abstract void |
assignScore(int score)
This method will assign a score to the question. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Question
public Question()
assignScore
public abstract void assignScore(int score)
- This method will assign a score to the question.