Why we need Finally with try?
pls expain with ur example..
Answer Posted / uppaluri
Finally Block always executes when the try block exists. Finally is used for more than exception handling : It allows the Programmer to avoid having cleanup code accidentally bypassed by a return, continue, or break. Putting cleanup code in a finally block is always a good practice. Hopefully you find your Solution.If you have any questions regarding Java mail me
| Is This Answer Correct ? | 16 Yes | 6 No |
Post New Answer View All Answers
How to create com object in Java?
What carriage return means?
How does java enable high performance?
How will you calculate the depth of a binary tree if the tree contains 15 nodes?
How to perform binary search in java?
What is difference between an object and a class?
Is int a class in java?
What is the same as procedures?
What is boolean data type in java?
How do you allocate memory to object?
What must a class do to implement an interface in java programming?
What do you mean by platform independence of Java?
Why arraylist is not synchronized in java example?
What is a method in programming?
What is difference between this and super keyword?