public class TrueFalse extends Question
Modifier and Type | Field and Description |
---|---|
private int |
answer
Value that represents the answer
|
private java.lang.String |
questionText
String that represents the question asked
|
Constructor and Description |
---|
TrueFalse()
Constructor for TrueFalse class
|
Modifier and Type | Method and Description |
---|---|
int |
getAnswer()
Gets the correct answer for the question
|
void |
setAnswer(int a)
Sets the correct answer for the question
|
getCourse, getDiagramPath, getDifficulty, getKeyword, getQuestionText, getTime, setCourse, setDiagramPath, setDifficulty, setKeyword, setQuestionText, setTime