Answer Posted / valarmathi
finally is a specialized keyword used in exception handling.
finally is nothing which is given at the end of the
program. it is executed at the last. eventhough an
exception occurs after displaying all the exceptions this
finally block will be displayed. i.e, it is used to
terminate the program.
Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
how are methods defined?
Does it matter in what order catch statements for filenotfoundexception and ioexception are written?
What are the two types of exceptions in java? Which are the differences between them?
What is object-oriented paradigm?
What methods are used to get and set the text label displayed by a button object?
What are peerless components in java programming?
What are strings in physics?
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?
Explain some best practices you would apply while using collection in java?
How do you remove an object from an arraylist in java?
What if I write static public void instead of public static void in java?
How do you control extraneous variables?
Are arrays primitive data types?
What is the use of using enum to declare a constant?
How many digits is int32?