Java · Easy
Differentiate between checked and unchecked exceptions. Provide examples.
JavaCore JavaException Handling
Answer preview
Checked exceptions — Subclasses of Exception (excluding RuntimeException). The compiler forces you to handle them with try-catch or declare them with throws. They represent recoverable conditions. Examples: IOException, SQLException, FileNotFoundException.…