When the user enters a negative roll number, the ArithmeticException exception is thrown using the throw keyword. This exception is handled by the catch block.
確定! 回上一頁