Advertisements
Advertisements
Question
Name the method of scanner class that is used to input a word or text of a line from the keyboard.
One Line Answer
Solution
next() or nextLine()
shaalaa.com
Is there an error in this question or solution?
Name the method of scanner class that is used to input a word or text of a line from the keyboard.
next() or nextLine()