C:\Java\EigeneJavaProgramme>java GarbageCollector1 i2 == i1: true i1 =null i2 =null I think 2 objects (Integer(1) and Integer(2) are eligable for gc. Is it correct?
Bert Bates
author
Sheriff
Joined: Oct 14, 2002
Posts: 8712
posted
0
Thomas - unless you've buried something tricky in there somewhere, you are right - two objects are g.c. eligible.
Eliminate fossil fuel subsidies. (If you're not on the edge, you're taking up too much room.)