-kolli
-kolli
To start with, we can never assume that there is any object eligible for GC after the call to
There is only 1 object eligible for GC after this commented line. Here's the explanation:
m0 references the third created object (so do m1 and m2)
m0.mh references the second created object (so do m1.mh and m2.mh)
m0.mh.mh references the first created object (so do m1.mh.mh and m2.mh.mh)
SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
-kolli
-kolli
Docendo discimus (we learn by teaching)
SCJP 5 Zertifizierung, Vorbereitungsbuch; SCJP 6 Zertifizierung, Vorbereitungsbuch
Acetylsalicylic acid is aspirin. This could be handy too:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|