FileNotFoundException

注意:io File f=new File("d:\\text");這句話自己不會產生任何 的異常,包括FileNotFoundException。異常 InputStream f1=new FileInputStream("d:/sd");像這樣的語句就會產生FileNotFoundException,必須try 。。catch一下。 new
相關文章
相關標籤/搜索