335 B
335 B
title
title |
---|
Throw |
throw
The Java throw keyword is used to explicitly throw an exception. You can throw either checked or unchecked exception in java.
Example:
throw new ArithmeticException("/ by zero not permitted");