Sridhar Gudipalli wrote:source: (Examlab Diagnostic Test) Q4
Q. How many objects are eligible for Garbage Collector, after executing the Line-12 of the following program?
I am confused to solve this problem. Any clue would be highly appreciated.
I am confused too, but IMHO 0 object ?
There is a scheme but I 'm not sure 100%