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
Music,
15 days ago
History,
15 days ago
Computer Science,
1 month ago
Math,
9 months ago
English,
9 months ago