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
What is the access scope of protected access specifier?
How is it possible in java programming for two string objects with identical values not to be equal under the == operator?
What are the types of methodology?
How do you make an arraylist empty in java?
What is the final keyword?
Explain the available thread states in a high-level?
Is assembly language a low level language?
How many types of assembly languages are there?
What is an 8 bit word?
Can a class be private in java?
What is string and example?
What is the difference between jvm and jre? What is an interface?
please send me hr interview questions in it industry
What exactly is methodology?
What is procedure overloading?