Pregunta de entrevista de LBi Software

Difference between checked and unchecked expection.

Respuesta de la entrevista

Anónimo

12 abr 2019

Checked exceptions are checked at compile time (e.g ClassException when a class is not found when performing a cast), they require a try-catch block. Unchecked exceptions cannot be checked during run-time (e.g location of a file on hard disk, a URL that may or not exist) and they don't necessarily require a try-catch block.