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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?