Hi Sarim, Any method that can cause a checked exception, can either use the try block and catch the exception in a handler, or it can explicitly propagate the exception to its caller by using the throws clause in the method header. This ensures that, regardless of the path of execution, checked exception will be monitered.
Hi, I would like to add an interesting point --- in the case of unchecked exceptions or runtime exceptions 1. You need not throw them. 2. If you throw them, you can choose to catch or not to do so, your code will still compile fine. 3. You can give the throw < ....> within the method and even forget to give the throws clause in the method definition. ------------------ Regards, Shree