args is an array limited in scope to the main method. You're trying to use it inside your getUserInput(), but as far as that method is concerned, the args array does not exist.


//Reading...