Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Java Inheritance 1,Eassy class Design an Essay class that extends the GradedActi

ID: 3546427 • 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.






pls upload it on www.wikisend.com and give the link

Explanation / Answer

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.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote