Write a class Janitor to accompany the other employees. Janitors work twice as many hours (80 hours/week), they make $30,000 ($10,000 less than others), they get half as much vacation (only 5 days), and they have an additional method named clean that prints "Working' for the man."
1
Expert's answer
2012-12-25T10:14:00-0500
public class Janitor extends Employee {
public final static int workHour = 80; public final static int vacation = 5; public final static int salary = 30000;
public void clean() { System.out.println("Working' for the man."); } }
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment