Thursday, February 12, 2009

. What happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statemen

Question :What happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statemen?
Answer :The exception propagates up to the next higher level try-catch statement (if any) or results in the program's termination.

No comments: