0
When I run this program on PC it says -- Exception cannot be converted to Throwable While it runs without error on SoloLearn
2 Answers
+ 2
Exception is a superclass of NullPointerException ,if you dont catch subclass exception than parent class handle subclass exception (polymorphism)
0
Uhh, I don't know what did you do to your PC but the point of the Exception class is to be Throwable.