Exception Handling in Java – Objective Test

This “Core Java Practice Test on Exception Handling” providing set of objective type questions on java Exception Handling to test your theoretical skills and technical skills.

1. How to throw user defined exception ?


2. What is logical error?


3. What type of errors will occur in Java application?


4. What is the use of throw keyword ?


5. Who will handle exception by default ?


6. Which exception will raise in case of invalid string data conversion ?


7. What is the use of throws keyword ?


8. What happens if we try to access a method using null pointer?


9. When we use try-finally block without catch ?


10. What is the parent class of all exception classes ?


Question 1 of 10

Share this