What are types of errors
Syntax error
Logical error
Run time error
What is the difference between error and exception
Error can not be recovered and exception can be recovered and handle
Is exception an object in java
Yes
What are 2 types of exceptions in java
Checked exceptions (compiler force us to write code for that exceptions) Unchecked exceptions (compiler do not force us to write code for that exceptions)
In which category run time exceptions falls
Unchecked exceptions
In which category IO Exceptions fall
Checked exceptions
Does finally block in exceptions always execute
Yes
What is the order of multiple catch blocks
Top should be child and parent towards bottom
Which keyword is used to send exception to another method
throw