Content deleted Content added
Cagdasgerede (talk | contribs) m Replace "follow" by "form" which makes more sense looking at the beginning of the sentence |
→Java: The parameter passed to weak and strong constructor should be consistent. |
||
Line 35:
public static void main(String[] args) throws InterruptedException {
WeakReference r = new WeakReference
StrongReference sr = new StrongReference("I'm here");
System.out.println("before gc: r=" + r.get() + ", static=" + sr.get());
|