You code needs to be in a method. You currently have it in the body of the class itself.
Look at your other programs or examples and note how they declare a main() method and put the code in there.
Ezzaral
null
16,126 posts since May 2007
Reputation Points: 3,294
Solved Threads: 875
Skill Endorsements: 28
Question Answered as of 1 Year Ago by
Ezzaral
and
nagatron