java.lang.Object
ai.tutor.cab302exceptionalhandlers.Utils.AIUtils.Option
Enclosing class:
AIUtils

public class AIUtils.Option extends Object
Format of a single option in a quiz question generated by the AI.
  • Constructor Details

    • Option

      public Option(String optionLetter, String optionText, boolean isAnswer)
      Constructor of Option.
      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

      public String getOptionLetter()
    • getOptionText

      public String getOptionText()
    • isAnswer

      public boolean isAnswer()