is exception a subclass of error?
+8
A:
No
java.lang Class Exception java.lang.Object extended by java.lang.Throwable extended by java.lang.Exception
http://download.oracle.com/javase/1.4.2/docs/api/java/lang/Exception.html
NawaMan
2010-08-17 13:31:31
+4
A:
It's easy to check: Exception extends Throwable, and also Error extends Throwable. So the answer to your question is - no.
duduamar
2010-08-17 13:32:12
+1 for totally unnecessary but pretty diagram.
Justin K
2010-09-03 13:38:29