How does a try statement determine which catch clause
should be used to handle an exception?
Answer Posted / vatti
when an exception is thrown from the try block,the type of
exception object specified in the catch statement matches
with the exception thrown, that one will execute
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What are the different access modifiers available in java?
What does n mean?
What is size () in java?
Why java is a platform independent? Explain
What is parsing and its types?
What is public/private protected in java?
Why does java not support pointers?
Does constructor return any value?
What is the final keyword?
What is anti pattern in cyber security?
What is use of functional interface in java 8? Explain
Which collection is thread safe in java?
What exactly is a .class file?
What is the purpose of nested class in java?
What is java and why do we need it? Explain