标签:reader 顺序 span system class int oid asn exception
public class FinallyTest{ public static void main(String a[]){
System.out.println(test());
}
public int test(){
int i = 10;
try{
System.out.println();
}catch(Exception e){
System.out.println(i);
}finally{
}
}
}
import java.io.*;
class Untitled {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
String filePath = in.next();
try{
File file = new File(filePath);
InputStream fin = new FileInputStream(file);
BufferReader fbuffer = new FileBufferReader(file);
while(fbuffer.hasNextLine()){
System.out.println(fbuffer.nextLine());
}
}catch(Exception e){
System.out,println("文件不存在");
}finally{
}
}
}
标签:reader 顺序 span system class int oid asn exception
原文地址:https://www.cnblogs.com/wqff-biubiu/p/9260811.html