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
what is optional in java 8?
Why 1 is not a prime number?
What is ternary operator? Give an example.
Give some features of interface?
What is a method signature java?
What is hashing principle in java?
What is stack explain?
What is meant by tab pans?
What is java in layman terms?
What does escaping a character mean?
What is meant by binding in rmi?
What is the effect of keeping a constructor private?
Can a constructor have different name than a class name in java?
Define how objects are stored in java?
What are static variables and functions?