(Solved):(Java) Write a class encapsulating the concept of a course grade, assuming a course grade has the following attributes: a course name and a letter grade. Include a constructor, the accessors and mu… View Answer…

 

Question

(Java) Write a class encapsulating the concept of a course grade, assuming a course grade has the following attributes: a course name and a letter grade. Include a constructor, the accessors and mutators, and methods toString and equals. Write a client class to test all the methods in your class.

 

EXPERT ANSWER

Refer the java program given below for the solution.

1. CourseGrade.java

  1. public
Scroll to top