但拋出的例外物件必須繼承 Throwable 類別或其衍生類別,Error 及 exception 類別就是。 ... (A)程式範例:Ex10_2.java ... throw new ArithmeticException();.
確定! 回上一頁