What happens if the exception is never caught and throws down the method stack?
If the exception is not caught by any of the method in the method’s stack till you get to the main() method, the main method throws that exception and the JVM halts its execution.
No comments:
Post a Comment