--- 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:*** ```java throw new ArithmeticException("/ by zero not permitted"); ``` ##### More resources [Geeks for Geeks](https://www.geeksforgeeks.org/throw-throws-java/)