Explain Checked and Unchecked exceptions.
Answers
Answered by
0
In Java, there are two types of exceptions: 1) Checked: are the exceptions that are checked at compile time. ... 2) Unchecked are the exceptions that are not checked at compiled time. In C++, all exceptions are unchecked, so it is not forced by the compiler to either handle or specify the exception.
Similar questions