मराठी

Which of the following is a method of Java Scanner class? - Computer Applications

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
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 1.06: Input in Java - EXERCISES [पृष्ठ ६५]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
पाठ 1.06 Input in Java
EXERCISES | Q I. 5. | पृष्ठ ६५
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×