Sigh, I had a lot typed out here when my browser freaked out.
I realized that netbeans wasn't saving the changes I made to the project (for whatever reason) it seemed to be saving the information to a seperate save of the class with the same name, outside of my project. I've been spoiled with BlueJ as of thus far, and am trying to branch out into other editors. However I have having trouble creating
test classes to use.
My main question about the toString() method, is that when creating it in a class does it need to be then called elsewhere? Or does it override another method and then take care of business itself when you system.out.println?
Also, could anyone help me design a test class for this so that I would know what to do in the future? I basically just want to make sure that when the Workforce constructor is called, it outputs what I want.
Employee
Production Worker
WorkForce