हिंदी

The ______ method will accept a character using stream class. - Computer Applications

Advertisements
Advertisements

प्रश्न

The ______ method will accept a character using stream class. 

विकल्प

  • in.read() 

  • (char)(in.read())

  • in.readline()

  • character.read()

MCQ
रिक्त स्थान भरें

उत्तर

The (char)(in.read()) method will accept a character using stream class. 

Explanation:

The in.read() method reads a single byte from the input stream, which can then be cast to char and used to receive a character.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 1.06: Input in Java - EXERCISES [पृष्ठ ६५]

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×