// THE OBJECT USED TO STORE INFORMATION ABOUT THE QUESTION
public class Question
{
// ACTUAL QUESTION STORED AS A STRING
public String text;
// ANSWERS STORED IN AN ARRAY OF STRINGS
public String [] answer;
// NUMBER OF TIMES THE QUESTION HAS BEEN ASKED (INT)
public int iterations;
// NUMBER OF TIMES EACH ANSWER IS PICKED (ARRRAY)
public int [] ansTimes;
// THE CONSTRUCTOR
Question()
{
text = "ASK THE USER THE QUESTION WITH THIS INFORMATION";
answer = new String[4];
iterations = 0;
ansTimes = new int[4];
ansTimes[0] = 0;
ansTimes[1] = 0;
ansTimes[2] = 0;
ansTimes[3] = 0;
}
}