CS Electrical And Electronics
@cselectricalandelectronics

In Java, if you set an object reference to null, will the Garbage Collector immediately free the memory held by that object?

All QuestionsCategory: JavaIn Java, if you set an object reference to null, will the Garbage Collector immediately free the memory held by that object?
Vaishnavi Talawar asked 3 years ago