|
Thanks for reply hardwired. It makes sense not to have the incrementor there. If I have it in my main class, where the Collection is being read in and added to, i can pass the value to the Empoyee object as a parameter yes??
If so, will i need to write the current value of the increment variable to a seperate file when my loop has finished, and read it in again and assign the current value as the start point of the increment, the next time I run the
program? I think this will work as the user only has one opportunity to add employees each time they run the program?
|