How does a try statement determine which catch clause
should be used to handle an exception?
Answer Posted / guest
when an exception is thrown with in the body of the try
statement then the catch clauses of the try statement are
examined in the order in which they appear.The first catch
clause that is capable of handling the exception is caught
and the remaining are ignored.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is Applet Stub Interface ?
What is a two-pass assembler?
What is scope & storage allocation of static, local and register variables? Explain with an example.
What are the disadvantages of object oriented programming?
What is a boolean structure?
Which sorting algorithm is in place?
What is meant by class loader? How many types are there? When will we use them?
Why is String immutable?
Why do we need data structure in java?
What is string buffer?
Can you use abstract and final both with a method?
What is static keyword in java?
How to create a base64 decoder in java8?
Is a method a function?
What is java Applet?