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
Explain the init method?
Can a source file contain more than one class declaration?
What is java beans?
How objects are stored in java?
What are the Static and Dynamic Variables? Differentiate them.
What is codebase?
What is the synonym of framework?
What is multithreading in java?
What does singleton class mean?
How do you start a new line in java?
What is difference between path and classpath?
What is unicode in java?
Why java is secure? Explain.
What is stringreader?
What is the use of http-tunneling in rmi?