PPT Slide
// Yield the person's name
public String getName()
{return name;}
// Yield a String containing person�s data
public String toString() {
String s= name;
s= s + " " + pay + " " + hireDate;
return s;}
}
This was the old class Employee
Previous slide
Next slide
Back to first slide
View graphic version