FileDocCategorySizeDatePackage
QuizCard.javaAPI DocExample1001Sat Jan 08 12:06:56 GMT 2005None

QuizCard.java

import java.io.*;

public class QuizCard implements Serializable {

     private String uniqueID;
     private String category;
     private String question;
     private String answer;
     private String hint;

     public QuizCard(String q, String a) {
         question = q;
         answer = a;
    }
     

     public void setUniqueID(String id) {
        uniqueID = id;
     }

     public String getUniqueID() {
        return uniqueID;
     }

     public void setCategory(String c) {
        category = c;
     }

     public String getCategory() {
         return category;
     }
     
     public void setQuestion(String q) {
        question = q;
     }

     public String getQuestion() {
        return question;
     }

     public void setAnswer(String a) {
        answer = a;
     }

     public String getAnswer() {
        return answer;
     }

     public void setHint(String h) {
        hint = h;
     }
 
     public String getHint() {
        return hint;
     }

}