Explain final, finalize() and finally?
Answer Posted / guest
we can declare final for class ,method,varible.
final varibles are unchangeble.
final classes are not subclassed.
final methods are not overriden.
finilize()
to clean up memory resourses for object using finilize().
finally block is executed if exception thrown or not.
| Is This Answer Correct ? | 100 Yes | 9 No |
Post New Answer View All Answers
Explain the significance of listiterator.
Is math an abstract class in java?
How do I compare two strings in word in java?
What is the difference between java applets and applications?
How will you communicate between two applets?
What are the advantages of unicode?
What is the size of integer?
What is use of super keyword in java?
How to write custom exception in java?
Can we overload final method in java?
How can you add and remove nodes in jtree?
What is variable in java?
How does the java compiler work?
How do you declare an empty string?
According to java operator precedence, which operator is considered to be with highest precedence?