Oracle documentation ( says "Using a int as a return type allows read() to use -1 to indicate that it has reached the end of the stream.".
確定! 回上一頁