Q1. Which statement about Java checked exceptions is correct?
Explanation
Java distinguishes checked exceptions from unchecked exceptions. A method that may throw a checked exception must either handle it using an appropriate catch clause or declare it using a throws clause so the obligation is visible to callers. This rule is especially relevant in file handling, where input-output operations commonly declare checked exceptions.
