I had to mod every source file, and I printed every source file...
and yes, I did finish 8
Ah, that's what I thought. Also, that is what Dung did in her version.
In my version, I kept the 3-input constructor(params) the same, and
simply created a data object in the constructor that would be updated
later in the main() program. That way, I didn't have to change the
constructor type in all the different employee classes. See below code
example:
// in Employee.java:
// three-argument constructor
public Employee( String first, String last, String ssn )
{
firstName = first;
lastName = last;
socialSecurityNumber = ssn;
birthDate = new Date(); //WGG creates NULL date object
} // end three-argument Employee constructor
// in PayrollSystemTest.java:
employees[3].setBirthday( new Date(2,22,1904) ); // update birthdate
It seemed simpler that way. (it's rare when I choose the simpler path,
btw)
--Slip