Since Java 7, you can use the try-with-resources statement around the BufferedReader so you don't have to close it explicitly.
確定! 回上一頁