// A class to represent employees in general (20-page manual). public class Employee { // number of years the person has worked with the company private int years; public Employee(int years) { this.years = years; } public int getHours() { return 40; // works 40 hours / week } public double getSalary() { return 50000.0; // $50,000.00 / year } // the number of extra vacation days earned for each year at the company public int getSeniorityBonus() { return 2 * years; } public int getVacationDays() { return 10 + getSeniorityBonus(); } public String getVacationForm() { return "Yellow"; // use the yellow form } public int getYears() { return years; } }