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