Which types of exceptions are caught at compile time?

By drakula david in 22 Sep 2023 | 11:32 am
drakula david

drakula david

Student
Posts: 128
Member since: 22 Sep 2023

Which types of exceptions are caught at compile time?

22 Sep 2023 | 11:32 am
0 Likes
divas goyal

divas goyal

Student
Posts: 453
Member since: 22 Sep 2023

   - Exceptions that are subclasses of `RuntimeException` or its subclasses are called unchecked exceptions and are not caught at compile time. All other exceptions are checked exceptions and must be either caught or declared in the method's `throws` clause.

23 Sep 2023 | 04:20 pm
0 Likes

Report

Please describe about the report short and clearly.