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

Answers were Sorted based on User's Feedback



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

Answer / janet

While the object is still reachable, an object?s finalize()
method cannot be invoked by the garbage collector.
However, an object?s finalize() method may be invoked by
other objects.

Is This Answer Correct ?    3 Yes 0 No

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

Answer / ravikiran(aptech mumbai)

yes...

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More Core Java Interview Questions

In Java why we write public static void main(String args[]) why not main()?

46 Answers   Aptech, GE Healthcare, Infosys, Microsoft, New Horizon, Practical Viva Questions, TCS, Wipro,


Why does java not support operator overloading?

1 Answers  


what is multithreading?

5 Answers   Virtusa,


What is difference between overloading and overriding?

2 Answers   Accenture,


What is java ceil?

1 Answers  


which class to use when concatenating strings in a loop.

3 Answers   IBM,


What will happen when using pass by reference in java?

1 Answers   HCL,


Why map is used in java?

1 Answers  


Define class?

1 Answers  


What are the types of strings?

1 Answers  


List two java ide’s?

1 Answers  


What is the use of 'super' keyword inside a constructor?

1 Answers   Flextronics, Thomson Reuters, Virtusa,


Categories