Menu

(Solved) : 1 P 699 4 Create Essaydemo Class Following Create Essay Object Using Default Constructor A Q32645750 . . .

1 P. 699 #4 Create a EssayDemo class that does the following: Create an Essay object using the default constructor. Assign scores to the object grammar 25 pts., spelling 18 pts., length 20 pts., content- 25 pts. The output should display the score details mentioned above along with the total points and letter grade, whereby 90-100 A, 80-89-B, 70-79- C, 60-69 D, <60 F Create a GradedActivity class with the following methods setScore, getScore, getGrade Create a derived class of GradedActivity called Essay with the following methods setScore - sets points for grammar, spelling, length, and content This method also overloads the super class method. Make the following 4 methods private setGrammar sets the grammar points, validating them setSpelling - sets the spelling points, validating them before setCorrectLength sets the points for correct length, setContent sets the points for content, validating them before they are set they are set validating them before they are set before they are set Make the following 4 methods public getGrammar, getSpelling, getCorrectLength, getContent, getScoremedia%2F4af%2F4af4f8fb-17cc-4e6c-8102-e3media%2Fa08%2Fa089afc4-39c9-4dd1-90dd-12media%2F9e2%2F9e26012e-bdb3-48c9-ac1e-a7media%2F7ab%2F7abf664e-06a5-4c81-888d-cbmedia%2F859%2F859985b2-7f3e-4a50-bd06-401 P. 699 #4 Create a EssayDemo class that does the following: Create an Essay object using the default constructor. Assign scores to the object grammar 25 pts., spelling 18 pts., length 20 pts., content- 25 pts. The output should display the score details mentioned above along with the total points and letter grade, whereby 90-100 A, 80-89-B, 70-79- C, 60-69 D, <60 F Create a GradedActivity class with the following methods setScore, getScore, getGrade Create a derived class of GradedActivity called Essay with the following methods setScore – sets points for grammar, spelling, length, and content This method also overloads the super class method. Make the following 4 methods private setGrammar sets the grammar points, validating them setSpelling – sets the spelling points, validating them before setCorrectLength sets the points for correct length, setContent sets the points for content, validating them before they are set they are set validating them before they are set before they are set Make the following 4 methods public getGrammar, getSpelling, getCorrectLength, getContent, getScore Show transcribed image text

Expert Answer


Answer to 1 P 699 4 Create Essaydemo Class Following Create Essay Object Using Default Constructor A Q32645750 . . .

OR