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 |
What is the importance of finally block in exception handling?
what state does a thread enter when it terminates its processing? : Java thread
Why do we use string?
What is charat ()?
How the elements are organized in GridLayout?
Hey buddy.. can you please tell me about the use of marker interface? And is there any link between marker interface and factory methods? Thanks in advance.
How do I convert a numeric ip address like 192.18.97.39 into a hostname like java.sun.com?
What is the main functionality of the remote reference layer?
Differentiate between class and structure.
How do you remove duplicates from an array in java?
What is meant by local variable and instance variable?
Can an unreachable object become reachable again?