Question: PP 8.10 Use the Question class from Chapter 7 to define a Quiz class. A quiz can be composed of up to 25 questions.

PP 8.10 Use the Question class from Chapter 7 to define a Quiz class. A quiz can be composed of up to 25 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 populates a quiz, presents it, and prints the final results.
Step by Step Solution
3.45 Rating (161 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
