public static void main(String args[]) throws IOException {
I would suggest you to drop this throws IOException. you can throw it there if you want, but what's the use? the main method is the last possible place to catch it
Reputation Points: 935
Solved Threads: 356
Nearly a Posting Maven
Offline 2,497 posts
since Jan 2007