About Question enthuware.ocajp.i.v7.2.1094 :
Moderators: Site Manager, fjwalraven
-
- Posts: 2
- Joined: Mon Feb 03, 2014 3:57 am
- Contact:
About Question enthuware.ocajp.i.v7.2.1094 :
Why is not "It will not print anything" a correct answer?
-
- Site Admin
- Posts: 10058
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.1094 :
It is indeed the correct answer.
If you like our products and services, please help us by posting your review here.
-
- Posts: 2
- Joined: Wed Mar 09, 2016 9:38 am
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.1094 :
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.
System.exit(0); the JVM exits the finally is skiped, so nothing will be printed.
-
- Site Admin
- Posts: 10058
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.1094 :
Yes, and that is set as the correct answer.
If you like our products and services, please help us by posting your review here.
-
- Posts: 14
- Joined: Mon Jun 20, 2016 11:16 pm
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.1094 :
why cant the option be "None of the above."?
since System.exit(0); will result in exit of JVM .
since System.exit(0); will result in exit of JVM .
-
- Site Admin
- Posts: 10058
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.1094 :
Which option do you see as correct?
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 56 guests