Answer Posted / srinivasa
As this method is available in object class we can override
the method and provide the code to release the resources.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why can we not override static method?
How hashmap increases its size in java?
Why is an interface be able to extend more than one interface but a class can’t extend more than one class?
When to use runnable interface vs thread class in java?
Which object oriented concept is achieved by using overloading and overriding?
how would you implement a thread pool? : Java thread
Is nullpointerexception checked or unchecked?
What is protected in java?
Explain java heap space and garbage collection?
Why method overriding is used?
What are the differences between string, stringbuffer and stringbuilder?
What is ph and buffers?
What is array length?
What is the main use of java?
Is there is any difference between a scrollbar and a scrollpane?