in.read()每次从输入流中读取一个字节,如果达到文件末尾就返回-1。使用完了,还要关闭这些字节流,调用close()方法。 File inFile = new File("input.txt") ...
確定! 回上一頁