public class Answer {
    public String text;
    boolean isCorrect;

    // constructor
    public Answer(String text, boolean isCorrect) {
        this.text = text;
        this.isCorrect = isCorrect;
    }
}
