62,614
社区成员
发帖
与我相关
我的任务
分享
try {
if(new File("c:\\file.txt").exists()) {
FileInputStream fis = new FileInputStream("c:\\file.txt");
fis.read();
}
}catch(IOException e) {
}
try {
FileInputStream fis = new FileInputStream("c:\\file.txt");
fis.read();
}catch(FileNotFoundException e) {
}catch(IOException e){
}