Question: the program must be written in eclipse using java. Programming Exercise 1: (StudentGrades class) Implement a class Student, a student has a name and total
Programming Exercise 1: (StudentGrades class) Implement a class Student, a student has a name and total quiz score. Supply atappropriate constructor and methods getName0, addQuiz(int score), getTotalScore0, and getAverageScore). To compute the latter, you also need to store the number of quizzes that the student took. Supply a StudentTest class to test all methods and functionalities of this exercise. You may have a maximum of 4 tests. A constructor must be initialized in the following manner Student stud1 new Student("John Smith", 100,80,50,70); Output display: Student name: John Smith Total Score : 300 Score average: 75 Then, user must be prompted to enter a new student data
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
