Question: define a class named Person that contains the data fields for the first name and last name. Include only a non-default constructor that initializes the

define a class named Person that contains the data fields for the first name and last name. Include only a non-default constructor that initializes the data fields and a method that displays all the information about a Person. Write a Customer class that inherits from Person. In addition to the fields available in Person, Customer contains a customer number and the unsettled balance. overrides the Person's display method so that it displays all the information when used with a Customer, and equals() method that will compare two cutomer objects. Customer objects are considered equal if they have the same unsettled balance value

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!