please help me =( .. Modify class Gradebookas follows: a) Include a second Strin
ID: 3612814 • Letter: P
Question
please help me =( ..Modify class Gradebookas follows:
a) Include a second String instance variable that represents thename of the course's instructor name.
b) Provide a set method to change the instructor's name and a getmethod to retrieve it.
c) Modify the constructor to specify two parameters -- one for thecourse name and one for the instructor's name.
d) Modify method displayMessage such that it first outputs thewelcome message and course name, then outputs "This course ispresented by: " followed by the instructor's name.
Use your modified class in a test application that demonstrates theclass's new capabilities. please help me =( ..
Modify class Gradebookas follows:
a) Include a second String instance variable that represents thename of the course's instructor name.
b) Provide a set method to change the instructor's name and a getmethod to retrieve it.
c) Modify the constructor to specify two parameters -- one for thecourse name and one for the instructor's name.
d) Modify method displayMessage such that it first outputs thewelcome message and course name, then outputs "This course ispresented by: " followed by the instructor's name.
Use your modified class in a test application that demonstrates theclass's new capabilities.