Checked Exception:
The exception that are checked by java compiler for execution of the program at the run time are called Checked exception.
Unchecked Exception:
The exceptions which are not checked by java compiler are called Unchecked Exceptions.
Whether exceptions are Checked or Unchecked compulsory it should be runtime only.
errors and it's child classes are Unchecked exceptions and all remaning are Checked exceptions.
The exception that are checked by java compiler for execution of the program at the run time are called Checked exception.
Unchecked Exception:
The exceptions which are not checked by java compiler are called Unchecked Exceptions.
Whether exceptions are Checked or Unchecked compulsory it should be runtime only.
errors and it's child classes are Unchecked exceptions and all remaning are Checked exceptions.
No comments:
Post a Comment