public class Eddy {
public static void main (String args []) {
method();
}
static void method()
{
try{
System.out.println("Hello");
}
finally{
System.out.println("good-bye");
}
}
}
这种题目考查的是对try.{}...catch{}...finally{} 看到这三个英文就应该知道是代表什么意思 了吧。试图{}..捕捉(获){}...最后{}
Therefore..this issue the result of:
Hello good-byte