Professional Documents
Culture Documents
Ic2mb Evangelista Module10&11
Ic2mb Evangelista Module10&11
Ic2mb Evangelista Module10&11
Quiz 10.1
1. Exceptional Handling
What is exceptional handling explain? Exception handling is responding to exceptions
when a computer program runs. An exception occurs when an unexpected event
happens that requires special processing. ... Exception handling attempts to gracefully
handle these situations so that a program (or worse, an entire system) does not crash.
2. Exception
An exception is an event, which occurs during the execution of a program, that disrupts
the normal flow of the program's instructions.
3. Checked Exceptions
A checked exception is a type of exception that must be either caught or declared in the
method in which it is thrown.
4. Unchecked Exceptions
Unchecked Exception in Java is those Exceptions whose handling is NOT verified during
Compile time . These exceptions occurs because of bad programming. The program
won't give a compilation error.
5. Assertion
An assertion allows testing the correctness of any assumptions that have been made in
the program.