+ 2

Which is the parent class of java.lang.Exception and java.lang.Error?

15th Sep 2019, 6:29 PM
Wajeeha Farooqui
Wajeeha Farooqui - avatar
2 Answers
0
their parent class is called Throwable, when you create your own exceptions you write extends Throwable.
15th Sep 2019, 6:56 PM
Nonea
Nonea - avatar