Java Inheritance 1,Eassy class Design an Essay class that extends the GradedActi
ID: 3546520 • Letter: J
Question
Java Inheritance
1,Eassy class
Design an Essay class that extends the GradedActivty class presented in this chapter. the Eassy class should determine the grade a student receives for an eassy. The student's eassy score can be up to 100 and is determined in the following manner:
*Grammar: 30 points
*Spelling: 20 points
*Correct lenght: 20 points
*Content: 30 points
Demonstrate the class in a simple program.
2,PreferredCustomer Class
Design a class named Person with fieds for holding a person's name,address, and telephone number. Write one or more constructors and the apporpriate mutator and accessor methods for the class's fields.
Next,design a class named Customer,which extends the Person class. The Customer class should have a field for a customer number and a boolean field indicating whether the customer wishes to be on a mailing list. Write one or more constructors and the appropriate mutator and accessor methods for the class's fields. Demonstrate an object of the Customer class in a simple program.
Explanation / Answer
Design an Essay class that extends the GradedActivty class presented in this chapter. the Eassy class should determine the grade a student receives for an eassy. The student's eassy score can be up to 100 and is determined in the following manner:
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.