public class QuestionBank
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<Question> |
questions
ArrayList of Questions in the Question Bank
|
Constructor and Description |
---|
QuestionBank() |
Modifier and Type | Method and Description |
---|---|
void |
add(Question q)
Adds the Question to the Question Bank
|
void |
edit(Question q)
Edits the Question from the Question Bank
|
void |
remove(Question q)
Removes the Question from the Question Bank
|
java.util.ArrayList<Question> |
search(Question q)
Searches through the Question Bank for a Question???
|
void |
view(Question q)
Pulls up view of the Question from the Question Bank
|
private java.util.ArrayList<Question> questions
public void add(Question q)
q
- the provided Questionpublic void remove(Question q)
q
- the provided Questionpublic void edit(Question q)
q
- the provided Questionpublic void view(Question q)
q
- the provided Question