0
What will next line do here?
In Java what's function of nextline?
1 Resposta
+ 2
Reads(takes input) 1 line of text from keyboard
//reads until you press enter or start typing on next line
try to use other methods like next() nextInt() etc also.
you'll be able to understand it. for this i would like to suggest another ide than SL
https://www.sololearn.com/learn/Java/2220/?ref=app