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
How does class forname work in java?
Explain the Propertie sof class?
What is map and hashmap in java?
Is arraylist sorted in java?
How do you achieve polymorphism in java?
What is hashmap and map?
What is the difference between access specifiers and access modifiers in java?
What is the different types of functions?
What is module in project?
What is difference overloading and overriding?
What is a programming object?
What is the difference between the prefix and postfix forms of the ++ operator?
What does I ++ mean?
What is default switch case? Give example.
What is procedure overloading?