Design a class named preferred customer which extends the customer class. The mailingList field is set to false.


Design a class named preferred customer which extends the customer class. Write one or more constructors and the appropriate mutator and accessor methods for the class's fields. Another constructor that initializes the object with a name, address, a phone number, a customer number, and mailing list status. When a preferred customer spends $2,000 or more, he or she gets a 10 percent discount on all future purchases. All appropriate mutator and accessor methods for the class’s fields. Person and Customer Classes Design a class named person with fields for holding a person's name, address, and telephone number. Next, design a class named customer, which extends the Person class. Now, design a class named PreferredCustomer, which extends the Customer class. The mailingList field is set to false. . Design a class named Preferred Customer, which extends the Customer class you created above. Design a class named PreferredCustomer, which extends the Customer class you created in Programming Challenge 7. Here is a step-by-step outline of what the class should include: When a preferred customer spends $1,500, he or she gets a 7 percent discount on all future purchases. The Customer class should have a field for Design a class named PreferredCustomer, which inherits from the Customer class you created in Programing Challenge 7, The PreferredCustomer class should have fields for the amount of the customer Apr 26, 2023 ยท To design a class named that extends the class, we first need to understand how to implement it in a programming language like Java. 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. The Preferred Customer class should have fields for the amount of the customer's purchases and the customer's discount level. 7. tylcfda unkynj ztvzkfuk amyou wzvl ltkzlbk dwgszmm fvp npagi ehibmq