Souvik Goswami wrote:Thanks, I understood that Unchecked Exceptions do not need to be thrown.
What you mean is that they don't need to be
declared or caught. No exception ever needs to be thrown.
Now, is it possible to throw any Checked Exception in an over-ridden method, that is not mentioned to be thrown in the source method???
The overriding method can only throw the checked exceptions that its parent declares, and their descendants. So if the parent declares IOException, we can throw IOException, FileNotFoundException, etc., but we cannot throw SQLException.