Please Help Exercise 18 1 Create Customer Maintenance Application Uses Inheritance 1 Open Q37044761

PLEASE HELP

Exercise 18-1 Create a Customer Maintenance application thatuses inheritance

1. Open the application in the C:VB 2012Chapter18CustomerMaintenance directory.

2. Display the customer class and modify the GetDisplayTextmethod so it’s overridable.

3. Add a class named WholesaleCustomer that inherits thecustomer class. This new class should add a string property namedCompany. It should also provide a default constructor and aconstructor that accepts four parameters (first name, last name,email, and company) to initialize the class properties. Thisconstructor should call the base class constructor to initializethe properties defined by that class. Finally, this class shouldoverride the GetDisplayText method to add the company name inparentheses to the

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.