The exceptions which are checked by a compiler at run time for smooth execution of the program are called Checked Exception.
Example in real-life:
HallTicketMissingException, PenNotWorkingException.
Example in application:
In our program, if there is a chance of rising checked exception, then It needs to handle this exception by using try-catch otherwise we will definitely get a compile-time exception.
Example in real-life:
HallTicketMissingException, PenNotWorkingException.
Example in application:
fileNotFoundException