InterviewSolution
Saved Bookmarks
| 1. |
Which of these keywords must be used to handle the exception thrown by try block in some rational manner?(a) try(b) finally(c) throw(d) catchThis question was posed to me by my school teacher while I was bunking the class.Enquiry is from Exceptional Handling Basics topic in section Exception Handling of Java |
|
Answer» RIGHT answer is (d) catch Explanation: If an exception OCCURS within the try BLOCK, it is thrown and CACHED by catch block for processing. |
|