0
I'm so confused on the java user input. google won't help?
I've tried google by looking it up, don't want to use xp to see the answers, i wanna learn, but this user input is so confusing. getLine, nextLine, nextGet, what do they all mean? I was suddenly blasted in the face with this info, no explanation on how it works or what it is! Someone please help!
1 Respuesta
+ 1
Don't melt your brain about it.
Just remember to use next() or nextLine() for strings
nextInt() for integers and so on
If you use an IDE it's likely to show you all available method, and you'll have to choose the one that suits the situation the best.
Besides, unless you make a console project specifically, you won't use it that much, nowadays everything is through GUIs