76 289
Assignments Done
Successfully Done
In May 2019

Answer to Question #21174 in Java | JSP | JSF for muhammad hanif

Question #21174
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."
Expert's answer
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.");

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions