gudii9
asked on
try without catch
Can we have
try block without catch block
If we write system.exit then does finally executes. I am not clear on this.
Please advise. Any ideas, resources, sample code highly appreciated. thanks in
advance
try block without catch block
If we write system.exit then does finally executes. I am not clear on this.
Please advise. Any ideas, resources, sample code highly appreciated. thanks in
advance
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I answered that question already. You should write the five lines of code that will allow you to verify my answer.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
@gudii9
You have quite some open questions...
Don't forget to return to your questions and close them when they're done.
You have quite some open questions...
Don't forget to return to your questions and close them when they're done.
ASKER
if i have try block with System.exit followed by finally with System.out.println()
When the program exit it will go to finally block right. Please advise