要處理例外可以用try…catch 語句,以下範例就利用try { … } catch (DivideByZeroException ex) 捕捉了上述的除以零之例外,開發者可以在catch 段落中 ...
確定! 回上一頁