Thanks Ernest. So can i conclude like this: If there occurs an exception in a static block(for eg, NullPointerException), then the ExceptionInInitializerError occurs?
vysh srini wrote:Thanks Ernest. So can i conclude like this: If there occurs an exception in a static block(for eg, NullPointerException), then the ExceptionInInitializerError occurs?