Question: Problem 1 Implement a class Student. For the purpose of this exercise, a student has a name and a total quiz score. Supply an appropriate

 Problem 1 Implement a class Student. For the purpose of this

Problem 1 Implement a class Student. For the purpose of this exercise, a student has a name and a total quiz score. Supply an appropriate constructor and methods getName(), addQuiz(int score), get TotalScore(), and getAverageScore(). To compute the average, you also need to store the number of quizzes that the student took. Supply a Student Tester class that tests all methods. Make sure to print the name, total score and average score If we call addQuiz 3 times, with values 80,50,80, then getTotalScore should return 210, getAvergaeScore should return 70. (Note: Do not hard code the value to 3 - instead increment the score count by 1 every time addQuiz method is called.) Submit Student.java, Student Tester.java and screenshot of the output in a zip file. Make sure all java files are commented properly and follows Javadoc convention

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!