Answer
object Answer
Object for an answer
Type members
Classlikes
An answer has a text and is correct or wrong
An answer has a text and is correct or wrong
- Value parameters:
- isCorrect
an answer is correct or wrong
- text
the text of the answer
Value members
Concrete methods
Change whether or not the answer is correct
Change whether or not the answer is correct
- Value parameters:
- answer
the answer to edit
- isCorrect
the new value of correctness
- Returns:
Answer