Answer Posted / dinesh
Finally clause is used to handle an exception that is not
caught by any of the previous catch statements.Finally
block can be used to handle any exception generated within
a try block.It may be added immediately after the try block
or after the last catch block.When a finally block is
defined,this is guranteed to execute,regardless of whether
or not an exception is thrown.used in house-keeping
operations like closing files and releasing system
resources.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Can extern variables be initialized?
What is the ==?
Why string is not thread safe?
what are different ways in which a thread can enter the waiting state? : Java thread
What is application tier?
what is meant by HQL?
What environment variables are required to be set on a machine in order to run Java programs?
What are the topics in advance java?
How would you format a date in java? I.e. In the ddmmyyy format?
How do I compare two strings in word in java?
What is the difference between member variables initialization and assignment in a constructor?
How do you change an int to a string?
Explain jvm, jre, and jdk?
What is the integer of 16?
What is return used for in java?