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
What is difference between equals and hashcode method?
What is the use of beaninfo?
Write a method to check if input string is palindrome?
What is the difference between int and integer in java?
Which variable is the independent variable?
What is mnemonic code?
How many bytes is a string in java?
If we don’t want some of the fields not to serialize how to do that?
How do constructors use this() and super()?
What is the difference between method overriding and overloading?
What is the byte range?
What is the latest version of java?
Explain the differences between abstraction and encapsulation?
Is string is a keyword in java?
Why do we need data serialization?