jdk1.6及以前版本IO流異常處理標準代碼

public void demo() throws FileNotFoundException, IOException { // 拋出異常 FileInputStream fis = null; // 賦初值 FileOutputStream fos = null; try { fis = new FileInputStream("a.txt");
相關文章
相關標籤/搜索