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 the use of singleton class?
Give a brief description of java socket programming?
Name few java util classes introduced with java 8 ?
What is array pointers ?
How does linkedhashmap work in java?
Can a class have an interface?
Explain illegalmonitorstateexception and when it will be thrown?
What is the protected method modifier?
Differece between class and generic class?
What is the purpose of javac exe?
What is indexof?
Explain the difference between an object-oriented programming language and object-based programming language?
What is a Null object?
What is jrmp?
What are different types of references?