Employee_Date

Class Invariant: All objects have a name string and hire date.
A name string of "No name" indicates no real name specified yet.
A hire date of January 1, 1000 indicates no real hire date specified yet.
Returns the same value as the same method in the StringTokenizer class, and changes the delimiter set in the same way as does the same method in the StringToeknizer class,but it also stores data for the method tokensSoFar to use. super.nextTokens is the version of nextToken defined in the base class StringTokenizer. Returns an array of all tokens produced so far. Array returned has length equal to the number of tokens produced so far.
Class Invariant: All objects have a name string, hire date, and nonnegative salary. A name string of "No name" indicates no real name specified yet. A hire date of January 1, 1000 indicates no real hire date specified yet.
if this line is omitted Java will still invoke the no-argument constructor for the base constructor. Precondition: Neither theName nor theDate are null; theSallary is nonnegative; An object of the class SalariedEmployeeData is also an object of the class EmployeeData;
Powered by