A unchecked exception classes which are the error classes (Error and its subclasses) are exempted from compile-time checking because they can occur at many points in the program and recovery from them is difficult or impossible. A program declaring such exceptions would be pointlessly.:Errors are not predictable at compile time.The problem which halt the execution of program, called error and these are uncheck. So, it is difficult to provide a solution for particular problem.
Category:Core Java Interview Questions
No comments:
Post a Comment