Modify class gradebook include a second string instance


Modify class GradeBook. Include a second String instance variable that represents the name ofthe course's instructor. Provide a set method to change the instructor's name and a get methodto retrieve it. Modify the constructor to specify two parameters - one for the course name andone for the instructors's name. Modify method displayMessage such that it ?rst outputs thewelcome message and course name, then outputs "This course is presented by: " followed bythe instructor's name. Modify the test application to demonstrate the class's new capabilities.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Modify class gradebook include a second string instance
Reference No:- TGS01657920

Now Priced at $20 (50% Discount)

Recommended (98%)

Rated (4.3/5)