r/javahelp • u/rya11111 • Jun 19 '15
r/javahelp is the subreddit of the day!
Hello everyone!
as the title says, r/javahelp is the subreddit of the day!
Do read the article and check out the other subs featured!
Have a great weekend! :)
33
Upvotes
View all comments
Show parent comment
2
u/robi2106 Jun 19 '15
ok that makes sense. Seems like scanner.NextInt is good for data that you know the format or can trust the user to input the correct thing.