Thank you that's exactly what I was looking for.
Type: Posts; User: derekeverett
Thank you that's exactly what I was looking for.
In this example I was trying to get input from the user. First an int that would be stored in a variable. Later on, but in the same method I want to get a String from the user stored in another...
Here's a small piece as an example.. this program does not work properly for me as written.. when I comes time for the second scanner instance the program terminates. I did get working by using a new...
Just a general question about Scanner()...
Is it poor coding practice to use the same Scanner object in 1 method to get input for a string and then an int?
I keep running into trouble when I...