// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
package website.quiz;

public class QuizQuestion
{
    private String question;
    private String answer;
    public QuizQuestion(String question, String answer)
    {
        this.question = question;
        this.answer = answer;
    }
    public String getQuestion()
    {
        return question;
    }
    public void setQuestion(String question)
    {
        this.question = question;
    }
    public String getAnswer()
    {
        return answer;
    }
    public void setAnswer(String answer)
    {
        this.answer = answer;
    }
    @Override
    public String toString()
    {
        return question;
    }
}
