Seems to be working ok. Posted the main class and the output. Is there something wrong with the code you posted above?
OUTPUTS:
Employees name: Humpty Dumpty
Your account number is: 34543534...
Type: Posts; User: floorplay
Seems to be working ok. Posted the main class and the output. Is there something wrong with the code you posted above?
OUTPUTS:
Employees name: Humpty Dumpty
Your account number is: 34543534...
Found what happened. When I auto generated the Setters and Getters in Eclipse the method names were identical to the instance variables and parameters!
The working class below.
* Class to...
I have written a simple Employee class that is suppose to pass the tests that have been given to us but the tests are failing and I can't see why. The methods are doing what they are suppose to be...