Thursday, February 12, 2009

What is the relationship between a method's throws clause and the exceptions that can be thrown during the method's execution

Question :What is the relationship between a method's throws clause and the exceptions that can be thrown during the method's execution?
Answer :A method's throws clause must declare any checked exceptions that are not caught within the body of the method.

No comments: