Unchecked Exceptions 1) Represented by class 'RuntimeException', 'Error' and all their subclasses. 2) You are not obliged to catch these exceptions or declare them in a throws clause.
Checked Exceptions 1) All the classes that are not mentioned in the unchecked exception list are considered Checked Exceptions. 2) You are obliged to catch these exceptions or declare them in a throws clause.
You can find Java Exceptions hierarchy here . Now you can answer your own question. [ January 17, 2005: Message edited by: Vicken Karaoghlanian ]
- Do not try and bend the spoon. That's impossible. Instead, only try to realize the truth. - What truth? - That there is no spoon!!!