4 Answers
New Answernext, input in current line nextline, input after enter new line (like '/n' before input)
next take a single word of any string and nextLine take a complete sentence of string and both the next and nextLine are used for string data type.
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message