Explain final, finalize() and finally?
Answer Posted / vijay chaudhary
Finally is used with try catch for Exception handling
purposes. Whatever written in Finally will run except if
program exits abnormally.
a Try should have atleast one catch or finally.
| Is This Answer Correct ? | 23 Yes | 17 No |
Post New Answer View All Answers
How do you compare objects in java?
What are the different collection views provided by maps?
What is the string function?
Can we catch more than one exception in single catch block?
What is the class in java?
What is a "pure virtual" member function?
What is immutable in java?
Can we access the non-final local variable, inside the local inner class?
Write a program in java to establish a connection between client and server?
What is the default execution method in java?
What is console based application in java?
What is string intern in java?
What is the difference between private & public & friendly classes?
Explain about assignment statement?
Is int a class in java?