What is the basically use of finally while we know it
is always executed but why?
Answer Posted / muffy.jad@gmail.com
The finally block is used to ensure resources are recovered
regardless of any problems that may occur.
finally is important because it allows the programmer to
guarantee the release of memory regardless of what happens
in the try block
finally is necessary when you need to set something other
than memory back to its original state.
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
How do you reverse a list?
Describe the term diamond problem.
Does java arraylist maintain insertion order?
how to run ecllipse with jettyserver for windows environment using batch file
What is a boolean expression in java?
Can an integer be null java?
what do you mean by classloader?
What does java stand for?
What is the main function in java?
which class is the wait() method defined in? : Java thread
Is string a class?
What is a nested list?
What is nullpointerexception in java?
What are the changes in java.io in java 8 ?
Is list ordered in java?