A checked exception is an exception that occurs at the compile-time; these exceptions are also called compile-time exceptions. The exceptions cannot simply be ignored at the time of compilation, and the programmer should take care of (handle) these exceptions.
For example:- If a file is to be opened, but the file was not found, an exception occurs. These exceptions that occurred cannot simply be ignored at the time of compilation.