public class Xi{
public static void main(String[] args) throws IOException{
FileInputStream pack=new FileInputStream("src/SB");
pack.close();
}
}
public static void main(String[] args) throws IOException{
FileInputStream pack=new FileInputStream("src/SB");
pack.close();
}
}
//FileNotFoundException/文件未找到异常/ 如果指定文件不存在(系统找不到指定的文件)。或者它是一个目录,而不是一个常规文件(拒绝访问)。