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

which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?

6 Answers   HP, SparkTG,


When try and catch block is used ?

6 Answers  


What is an array and a vector? How they different from each other?

4 Answers  


Can u write constructor in abstract.If yes den when it will be invoked.

4 Answers   SunGard,


What are the different access modifiers available in java?

0 Answers  






What is static variable and static method?

32 Answers   Accenture, Prolific, Prolifics, TCS, TNH,


What is the purpose of format function?

0 Answers  


What is the preferred size of a component in java programming?

0 Answers  


What is a flag variable?

0 Answers  


What is difference between local variable and global variable?

0 Answers  


what state does a thread enter when it terminates its processing? : Java thread

0 Answers  


What are keyboard events?

0 Answers  


Categories