What does System.in.read() return?
Answers
Answered by
1
Answer:
The read() method of the input stream classes reads the contents of the given file byte by byte and returns the ASCII value of the read byte in integer form. While reading the file if it reaches the end of the file this method returns -1.
Similar questions
India Languages,
3 hours ago
Science,
3 hours ago
Math,
3 hours ago
Computer Science,
5 hours ago
Math,
8 months ago
English,
8 months ago