Question: Create a class called Student to represent a Student exam grades. The class has four instance variables: A String variable for the name, and three

 Create a class called Student to represent a Student exam grades.

Create a class called Student to represent a Student exam grades. The class has four instance variables: A String variable for the name, and three double variables to store three exams grades for the student. 1. Write a mutator method that takes four parameters-A String and three doubles. Use these parameters to initialize the instance variables declared earlier. 2. Write a getAverage method that calculates and returns the average of the three exam grades. 3. Write a separate program that creates 2 Student objects to hold the following data. First Name Ahmed Kareema Exam#1 Exam#2 Exam#3 83.0 95.5 90.0 75.25 83.0 89.0 Java Output the name and average grade for each of the above students

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!