Which types of exceptions are caught at compile time?
- 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.