/home/caleb/ASDV-Java/Semester 2/Assignments/lab2_CalebFontenot/src/main/java/com/calebfontenot/lab5_calebfontenot/TrueFalseQuestion.java |
package com.calebfontenot.lab5_calebfontenot;
import java.util.Date;
@author
public class TrueFalseQuestion {
private String question;
private boolean isTrue;
private Date whenLastUsed;
public TrueFalseQuestion(){}
public TrueFalseQuestion(String question, boolean isTrue, Date whenLastUsed) {
this.question = question;
this.isTrue = isTrue;
this.whenLastUsed = whenLastUsed;
}
@return
public Date getWhenLastUsed()
{
return whenLastUsed;
}
@param
public void setWhenLastUsed(Date whenLastUsed)
{
this.whenLastUsed = whenLastUsed;
}
@return
public boolean isIsTrue()
{
return isTrue;
}
@param
public void setIsTrue(boolean isTrue)
{
this.isTrue = isTrue;
}
@return
public String getQuestion()
{
return question;
}
@param
public void setQuestion(String question)
{
this.question = question;
}
}