
Define a Question class which stores a multiple choice question having one correct answer. Each question has a complexity (difficulty) level. Use the Question class to define a Quiz class. A quiz can be composed of up to 10 questions. Define the add method of the Quiz class to add a question to a quiz. Define the giveQuiz method of the Quiz class to present each question in turn to the user, accept an answer for each one, and keep track of the results. Define a class called QuizTime with a main() method that follows a menu based approach to populates a quiz, presents it by asking questions randomly, and prints the final results.