{
System.out.println("Testing WeakReference");
boolean[] r= new boolean[50];
int i= 0;
WeakBase aObj1= new WeakBase();
// WeakBase aObj2= new WeakBase();
WeakReference wr1= new WeakReference(aObj1);
WeakReference wr2= new WeakReference(wr1);
r[i++]= wr1.get() == aObj1;