हिंदी

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×