logo CodeStepByStep logo

Custodian

Related Links:

Write a class Custodian to accompany Employee and the other law firm classes. Custodians work twice as many hours per week as other employees (80 hours/week), they make $30,000 ($10,000 less than general employees), they get half as much vacation as other employees (only 5 days), and they have an additional method named clean that accepts no parameters and returns the string "Workin' for the man." Make sure to interact with the superclass as appropriate.

Inheritance: Write a Java class using inheritance.

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.