The Scanner class method used to accept words with space:
Advertisements
Question
The Scanner class method used to accept words with space:
Options
next()
nextLine()
Next()
nextString()
MCQ
Advertisements
Solution
nextLine()
shaalaa.com
Introduction of Input in Java
Is there an error in this question or solution?
