If multiple exceptions can be thrown by code in a try block, how does the JVM know

Question:

If multiple exceptions can be thrown by code in a try block, how does the JVM know which catch clause it should pass the control of the program to?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: