View Single Post
  #2 (permalink)  
Old 07-25-2007, 11:55 PM
Seemster Seemster is offline
Member
 
Join Date: Jul 2007
Posts: 55
Seemster is on a distinguished road
args[0] is null. if running from the command line are you passing in a value for arg[0] which gets assigned to x. if running from within an ide, such as eclipse, open up the run menu and pass a value to the program. if you can't do that, comment out int x = Integer.parseInt(args[0]) and change it to x = 3 (or some value).
Reply With Quote