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
What is an empty list in java?
What is %d in printf?
Why is it important to initialize a variable?
What is java util list?
What is the difference between method overriding and overloading?
how to prepare for IT Officers Interview in Banks
What is the difference between Array and Hash Table?
Where is singleton pattern used?
What are different types of control structures?
Implement two stacks using a single array.
Is the milky way in a void?
can java object be locked down for exclusive use by a given thread? : Java thread
What are implicit objects in java?
What is the class in java?
What defines function?