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.\
    1. Runtime exception\
  • Use this exception to indicate the programming error.\
    1. Errors