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
What is object english?
Is null keyword in java?
Can vector have duplicates in java?
How many characters is 2 bytes?
What is dot operator?
What is increment in java?
What is anti pattern in cyber security?
What is role of void keyword in declaring functions?
What is the use of singleton class?
Discuss 2D arrays.
What are the differences between wait() and sleep()?
What is the difference between abstract classes and interfaces?
What is another word for methodology?
is it possible to instantiate the math class?
What are default methods ?