Java - exceptions

less than 1 minute read

Java has 3 different types of exceptions.

1. Checked exception
- Use this exception for a case which can be recoverable.
2. Runtime exception
- Use this exception to indicate the programming error.
3. Errors