Question: Please see Question Below for assistence Case: The Barking Lot 3. In Chapter 7, you developed classes needed for The Barking Lot-a dog-boarding facility. You

Please see Question Below for assistence

Please see Question Below for assistence Case: The Barking Lot 3. In

Case: The Barking Lot 3. In Chapter 7, you developed classes needed for The Barking Lot-a dog-boarding facility. You created the logic for the following classes: Name, Address, Date, Employee, Owner, Dog, and BoardingContract. Now create the following: Create a superclass named Person from which both Employee and Owner can descend. Include attributes and methods that any Person should possess-for example, a name and address. Then rewrite the Employee and Owner classes to descend from Person. Besides the fields it inherits from Person, the Employee class should contain an ID number, hire date, and hourly pay rate. The Owner class also inherits the fields from Person, and contains a phone number and get and set methods for it. Create at least two subclasses that descend from Employee (for example, PartTimeEmployee), adding new fields and methods as appropriate. Override at least one parent method. Create at least two subclasses that descend from Dog (for example, ServiceDog), adding new fields and methods as appropriate. Override at least one parent method. Create a program that demonstrates each of the classes' methods. Case: The Barking Lot 3. In Chapter 7, you developed classes needed for The Barking Lot-a dog-boarding facility. You created the logic for the following classes: Name, Address, Date, Employee, Owner, Dog, and BoardingContract. Now create the following: Create a superclass named Person from which both Employee and Owner can descend. Include attributes and methods that any Person should possess-for example, a name and address. Then rewrite the Employee and Owner classes to descend from Person. Besides the fields it inherits from Person, the Employee class should contain an ID number, hire date, and hourly pay rate. The Owner class also inherits the fields from Person, and contains a phone number and get and set methods for it. Create at least two subclasses that descend from Employee (for example, PartTimeEmployee), adding new fields and methods as appropriate. Override at least one parent method. Create at least two subclasses that descend from Dog (for example, ServiceDog), adding new fields and methods as appropriate. Override at least one parent method. Create a program that demonstrates each of the classes' methods

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!