When finalize method is called?
Answers were Sorted based on User's Feedback
Answer / janet
finalize() method is used just before and object is
destroyed and can be called just prior to garbage
collection.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ravikiran(aptech mumbai)
finalize method is used to conserve the resources before
garbage collection
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sourabh
finalizr method call just before the garbage collector
Is This Answer Correct ? | 0 Yes | 0 No |
How do I get 64 bit java?
how to pass the parameters to applets?
Why Java doesn’t support multiple inheritance?
How can we find size of the object ?
Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.
What is api data?
what are upcasting and downcasting?
Give us a program to check for parenthesis matching using stack.
Is it possible to define a method in java class but provide it’s implementation in the code of another language like c?
Under what circumstances an object reference be cast to an interface reference?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?
How to remove the trailing spaces from a string?