Page 1 of 1

Re: About Question com.enthuware.ets.scjp.v6.2.35 :

Posted: Sun Mar 15, 2015 11:23 am
by malaybiswal
Why this will not compile?

static{
throw new NullPointerException();
}

Re: About Question com.enthuware.ets.scjp.v6.2.35 :

Posted: Sun Mar 15, 2015 8:44 pm
by admin
Did you read the error message that you got while trying to compile it?