Are you able to compile your code? You have written printEmployee method inside main.
posted 5 years ago
I don't know how to use code tags??
when I am compiling this code it giving me an error on print employee method that illegal start of expression
I want to run this print employee method inside main.
but its not running showing this Run time exception.?? illegal start of expression
You should not be printing all those attributes of the Employee objects separately. You should give the Employee class an overridden toString method then you simply write
Normally trees don't drive trucks. Does this tiny ad have a license?
Devious Experiments for a Truly Passive Greenhouse!