Chapter 11: Problem 13
What are the differences between a checked and an unchecked exception?
Short Answer
Expert verified
Short Answer: Checked exceptions are checked at compile-time and must be explicitly handled in the code, whereas unchecked exceptions are checked at runtime and are not required to be explicitly handled. Checked exceptions are usually related to recoverable situations and extend the java.lang.Exception class, while unchecked exceptions often result from programming errors, extend the java.lang.RuntimeException class, and indicate potential bugs in the code.