Explain Cheked and Uncheked exceptions.
Answers
Answered by
0
In Java exceptions under Error and RuntimeException classes are unchecked exceptions, everything else under throwable is checked. Consider the following Java program. It compiles fine, but it throws ArithmeticException when run. The compiler allows it to compile, because ArithmeticException is an unchecked exception.
Similar questions
Math,
6 months ago
Biology,
6 months ago
English,
6 months ago
Business Studies,
11 months ago
Physics,
1 year ago
Psychology,
1 year ago