It most likely depends upon where and when you call the Scanner class for user input and what the user enters.