Java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Java

What are the exceptions classes in java ?

19th Aug 2019, 3:38 PM
Shuaib Ramadan
Shuaib Ramadan - avatar
1 Answer
+ 1
As pythoner, most of the classes might be just blank classes, that just inherit from a class, and the error widgets will rather live in a super class of the error classes. (In Python it's BaseException.) You can create your own exceptions by inheriting a blank class from one of the error classes.
19th Aug 2019, 4:50 PM
Seb TheS
Seb TheS - avatar