मराठी

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×