Page 1 of 1
About Question enthuware.ocajp.i.v7.2.1094 :
Posted: Mon Apr 14, 2014 5:01 am
by njaal123
Why is not "It will not print anything" a correct answer?
Re: About Question enthuware.ocajp.i.v7.2.1094 :
Posted: Mon Apr 14, 2014 5:54 am
by admin
It is indeed the correct answer.
Re: About Question enthuware.ocajp.i.v7.2.1094 :
Posted: Wed Mar 09, 2016 9:53 am
by claudiucls
I thing the correct option is "it will not print anything" .
System.exit(0); the JVM exits the finally is skiped, so nothing will be printed.
Re: About Question enthuware.ocajp.i.v7.2.1094 :
Posted: Wed Mar 09, 2016 10:32 am
by admin
Yes, and that is set as the correct answer.
Re: About Question enthuware.ocajp.i.v7.2.1094 :
Posted: Wed Jul 06, 2016 5:24 pm
by Sai Divya sree
why cant the option be "None of the above."?
since System.exit(0); will result in exit of JVM .
Re: About Question enthuware.ocajp.i.v7.2.1094 :
Posted: Wed Jul 06, 2016 6:59 pm
by admin
Which option do you see as correct?