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

How to create a base64 decoder in java8?

0 Answers  


What is array and arraylist in java?

0 Answers  


Say any two properties in beans?

0 Answers  


which pattern is default in scanner package?

0 Answers   Satyam,


write a code, we have two thread, one is printing even no and other print the odd no.

1 Answers   Global Logic,






What is the static import?

0 Answers  


What is stringwriter?

0 Answers  


How many objects are created for a singleton class

7 Answers   Ness Technologies,


Which Component subclass is used for drawing and painting?

1 Answers  


Can we convert stringbuilder to string in java?

0 Answers  


What do you mean by exception handling in Java?

0 Answers   Atos Origin,


why string constant pool in java

2 Answers   TCS,


Categories