You get an ExceptionInInitializerError if something goes wrong in the static initializer block. class C { static { // if something does wrong ...
-
April 8, 2022
- 0 Comments