About Question enthuware.ocajp.i.v7.2.1094 :
Moderators: Site Manager, fjwalraven
- 
				njaal123
 - 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?
			
			
									
									
						- 
				admin
 - Site Admin
 - Posts: 10443
 - Joined: Fri Sep 10, 2010 9:26 pm
 - Contact:
 
Re: About Question enthuware.ocajp.i.v7.2.1094 :
It is indeed the correct answer.
			
			
									
									
						- 
				claudiucls
 - 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.
- 
				admin
 - Site Admin
 - Posts: 10443
 - 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.
			
			
									
									
						- 
				Sai Divya sree
 - 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 .
- 
				admin
 - Site Admin
 - Posts: 10443
 - 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?
			
			
									
									
						Who is online
Users browsing this forum: No registered users and 15 guests