When finalize method is called?

Answers were Sorted based on User's Feedback



When finalize method is called?..

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

When finalize method is called?..

Answer / ravikiran(aptech mumbai)

finalize method is used to conserve the resources before
garbage collection

Is This Answer Correct ?    1 Yes 0 No

When finalize method is called?..

Answer / sourabh

finalizr method call just before the garbage collector

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?

0 Answers   Genpact,


What is the purpose of checked and unchecked exceptions in JAVA?

0 Answers   Amdocs,


What is HashTable?

4 Answers  


How to sort array of 0 and 1 in java?

0 Answers  


Can an object?s finalize() method be invoked while it is reachable?

2 Answers  


What is the function of character?

0 Answers  


how a marker interface gets its functionality and when we implements a marker interface how it got invoked

3 Answers   Mind Tree,


What is palindrome in java?

0 Answers  


Mention some features of java?

0 Answers  


What is meant by throwing an Exception?

4 Answers   Accenture,


Is minecraft java edition free?

0 Answers  


What is method reference in java?

0 Answers  


Categories