summaryrefslogtreecommitdiff
path: root/src/Question.java
blob: 7146d926c06d00a3031bb2d8a0b8e73bade4ebe3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
public abstract class Question {
    private String description;
    private String answer;

    public Question() {
    }

    public Question(String description, String answer) {
        this.description = description;
        this.answer = answer;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }
}