Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please help me show detail steps! thanks! Part 1: Student and StudentTester: Update the Student and StudentTester classes provided in D2L. Changes to the Student
please help me show detail steps! thanks! Part 1: Student and StudentTester: Update the Student and StudentTester classes provided in D2L. Changes to the Student class 1. Make sure the Student class you start with is correct! 2. In addition to the name, major, and classification that you already have as instance variables, add the following instance variables: o Quiz average as a double Test average as a double o Homework average as a double 3. Update the no-argument constructor. Initialize the values of the three instance variables 4. Provide a constructor that has student's name, major, and classification as an argument. 5. Write methods for getting and setting each of the three averages. 6. Write a method called computeOverallGrade that returns the overall numeric grade. It should have no parameters. It should be based upon the formula that o Quiz average is worth 25% of overall grade Test average is worth 50% of overall grade o Homework average is worth 25% of overall grade 7. Create a toString() method to o Display name, major, and classification. Also display each of the new instance variables (quiz average, test average and homework average) in a nice format Call the computeOverallGrade method to also display the student's overall grade 8. NOTE: There should not be a main method in the Student class! Changes to the StudentTester class 1. In the main method: - Construct four additional Student objects using the constructor which requires the student's name, major, and classification. Use the set methods to store values for each of the three averages. -Display the contents of the object When done: - Upload the Student.java and StudentTester.java files in the D2L Dropbox - Follow ALL Coding Standards posted in D2L! This time, you will get points off for violations
please help me show detail steps! thanks!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started