Class AIUtils.Option
java.lang.Object
ai.tutor.cab302exceptionalhandlers.Utils.AIUtils.Option
- Enclosing class:
AIUtils
Format of a single option in a quiz question generated by the AI.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Option
Constructor ofOption
.- Parameters:
optionLetter
- The letter identifying this option (e.g., "A", "B").optionText
- The text content of this option.isAnswer
- True if this option is the correct answer, false otherwise.
-
-
Method Details
-
getOptionLetter
-
getOptionText
-
isAnswer
public boolean isAnswer()
-