questions
Class QuestionBank

java.lang.Object
  extended by questions.QuestionBank

public abstract class QuestionBank
extends java.lang.Object

The QuestionBank contains a collection of Questions with methods to add, delete, and edit questions within the bank.


Constructor Summary
QuestionBank()
           
 
Method Summary
abstract  void addQuestion(Question ques)
          Adds a new question into the question bank
abstract  void deleteQuestion(int questionID)
          Removes the question with the questionID from the question bank
abstract  void editQuestion(int questionID, Question ques)
          Changes the question with the questionID to the question specified by ques
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuestionBank

public QuestionBank()
Method Detail

addQuestion

public abstract void addQuestion(Question ques)
Adds a new question into the question bank


deleteQuestion

public abstract void deleteQuestion(int questionID)
Removes the question with the questionID from the question bank


editQuestion

public abstract void editQuestion(int questionID,
                                  Question ques)
Changes the question with the questionID to the question specified by ques