PPT Slide
// Constructor: a person with name n, salary
// s and year d hiredpublic Employee(String n, double s, int d){ name = n; pay = s; hireDate = d;}
// Raise the pay by p percent
public void raiseSalary(double p)
{pay= pay * (1 + p/100.0);}
// Yield the year the person was hired