Explain final, finalize() and finally?
Answer Posted / dwr
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 ? | 7 Yes | 2 No |
Post New Answer View All Answers
What is data member in java?
What is the difference between preemptive scheduling and time slicing in java programming?
What is nextline method in java?
what is function overloading in java?
Is a char always 1 byte?
What is a class object?
What is data type in java?
What is a modifier?
Which is better stringbuffer or stringbuilder?
What are heterogeneous objects?
Can java arraylist hold different types?
What is * argv?
What do you understand by classes in java?
How to do encapsulation in java?
Give any two differences between C++ and java.