由於例外發生後,程式便會中斷執行,因此我們可以利用try-catch 將throw 的部份圍起來,好處理例外發生後的情況,例如 class Throw2Demo { public static void ...
確定! 回上一頁