Why we need Finally with try?
pls expain with ur example..
Answer Posted / kedar lasane from tuljapur
Because Some Instructions that must be executed in our java
program though there is exception in try block caught by
catch.Once the Exception occurs it catched by catch
statement and control never goes to try block again.So to
Execute some statements after subsequent with try block then
finally {} block is used.Hopefully You find your solution.If
any questions regaurding to java just mail me.
--------------
thnx
my blog: http://www.tuljabhavani.in
| Is This Answer Correct ? | 34 Yes | 4 No |
Post New Answer View All Answers
Is arraylist an object in java?
Is java platform independent?
What is bytecode verifier?
Can we declare register variable as global?
What is the purpose of using break in each case of switch statement?
How will you initialize an Applet?
What is string substring?
What is a dynamic array java?
Is it necessary for the port addresses to be unique? Explain with reason.
How do I stop concurrentmodificationexception?
What is the difference between serializable and externalizable interfaces?
What is null mean in java?
Does chrome use java?
Is integer passed by reference in java?
Explain the importance of join() method in thread class?