Unchecked Exceptions are all Exceptions that are subclassing RuntimeException, i.e. RuntimeException and all its subclasses. Checked Exceptions are all subclasses of Exception except the RuntimeException branch of the hierarchy. Val
Checked exception are subclasses of Exception & has to be handled in your code in a try catch block or should be thrown using throws clause else the compiler will complain. Whereas unchecked exceptions being subclass of RuntimeException need not have to be handled in your code. They will be thrown during runtime. Hope this helps.
Originally posted by md ali: Hi All, Can anyone please tell me that what is meant by the term checked exceptions. And what is meant by term unchecked exceptions. Thanks & Reagrds Muhammad Ali
Joined: Sep 06, 2001
Thankyou for your prompt replies and help. Regards Muhammad Ali