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

How do I get 64 bit java?

0 Answers  


how to pass the parameters to applets?

1 Answers  


Why Java doesn’t support multiple inheritance?

0 Answers  


How can we find size of the object ?

5 Answers   CTS, RazorSight,


Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.

0 Answers   Mphasis,






What is api data?

0 Answers  


what are upcasting and downcasting?

5 Answers  


Give us a program to check for parenthesis matching using stack.

0 Answers   Genpact,


Is it possible to define a method in java class but provide it’s implementation in the code of another language like c?

0 Answers  


Under what circumstances an object reference be cast to an interface reference?

3 Answers  


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?

0 Answers  


How to remove the trailing spaces from a string?

0 Answers   Infogain,


Categories