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
Explain inner classes ?
How to change value in arraylist java?
What is an empty string in css?
What are java methods?
Describe how to implement singleton design pattern in struts.
What is merge sort in java?
What is illegal identifier in java?
What are the advantages of java?
What is a protected class in java?
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?
What are the 2 types of java programs?
What is the difference between a static and a non-static inner class in java programming?
Describe string intern() methodology
what are the high-level thread states? : Java thread
What restrictions are placed on method overriding in java programming?