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 hashing principle in java?
What are the wrapped, classes?
What is integer parseint?
What is the largest number a double can hold?
5 Coding best practices you learned in java?
What is native method in java?
Why do we use string?
What access modifiers can be used for variables?
What is variable and its types?
What are the two ways of implementing multi-threading in java?
What does next mean in java?
How do you check if an arraylist is not empty?
What is the purpose of the System class?
Does java list allow null?
What are exception handling keywords in java?