About Question enthuware.ocajp.i.v8.2.1031 :
Moderator: admin
-
- Posts: 1
- Joined: Tue Jun 30, 2020 1:40 pm
- Contact:
About Question enthuware.ocajp.i.v8.2.1031 :
Hi admin. Could you please explain, why ExceptionInInitializerError is not thrown in the forth point?
-
- Site Admin
- Posts: 10055
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v8.2.1031 :
ExceptionInInitializerError can be thrown when the code is run. But before you can run the code, it has to be compiled. Option 4 fails during compilation, which means, you can't run it. So, an ExceptionInInitializerError will not be thrown.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 32 guests