Which of the following would be the most appropriate way to invoke the CalculateAvg( ) method found

Question:

Which of the following would be the most appropriate way to invoke the CalculateAvg( ) method found in the Student class if an object named gradStudent had been instantiated from the class?

public double CalculateAvg(double,double)

a. gradStudent = CalculateAvg(87.2, 90);

b. answer = Student.CalculateAvg(87.2, 90);

c. CalculateAvg(87.2, 90);

d. answer = gradStudent.CalculateAvg(double, double);

e. answer = gradStudent.CalculateAvg(87.2, 90);

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: