1.Exceptions Occurs at
Compile time
Run time
Wrong
Correct
Exceptions are the objects representing the logical errors that occur at run time
2.what is the Super class of Exception class?
Object
Throwable
Error
Wrong
Correct
Throwable is the super class for both exception and error
3.We can have try block without catch block
Yes
No
Wrong
Correct
It is possible to have try block without catch block by using finally block
4.Is it possible to write multiple exceptions in single catch block
Yes from java 7
No
Wrong
Correct
It is not possible prior to java 7.
new feature added in java 7.
No comments