Advertisements
Advertisements
प्रश्न
Which of the following is a method of Java Scanner class?
विकल्प
nextline()
nextLine()
Nextline()
NextLine()
MCQ
उत्तर
nextLine()
Explanation:
The method nextLine() (with an uppercase 'L') reads a whole line of data from the user.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?