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 to create a fecelet view?
Why do we override tostring method in java?
Name some OOPS Concepts in Java?
How to create an interface?
Why is the singleton pattern considered to be an anti pattern?
What are the types of java?
Explain the difference between a Thread and a Process.
What is the difference between static and non-static variables in java programming?
Can static method access instance variables ?
What is constructor in java ?
Java is pass by value or pass by reference? Explain
What is the difference between a method and a function in alice?
What is a local class in java?
What is passing value java?
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?