Give a beggar a fish; feed him for a day. Teach him how to fish; Feed him for a lifetime.
Joined: Oct 13, 2005
Not if you want command-line arguments. A BufferedReader reading from System.in might be a better way to take input generally, but the original post was specifically written to use command-line arguments.