拋出例外語法:throw new Exception 類型如果非Runtime Exception ,則需要在方法後面宣告拋出的方法類型如果是Runtime Exception可以不用加throws。
確定! 回上一頁