jdk1.6及以前版本IO流异常处理标准代码

public void demo() throws FileNotFoundException, IOException { // 抛出异常 FileInputStream fis = null; // 赋初值 FileOutputStream fos = null; try { fis = new FileInputStream("a.txt");
相关文章
相关标签/搜索