Which is the parent class of java.lang.Exception and java.lang.Error? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 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
1 Réponse
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