(Solved):Java: 1. 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… View Answer…

 

Question

Java: 1. 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

The objective of the program is to create a class” Course” grade to encapsulate the course name and grade

Scroll to top