Finalizers
private static int count ;
public Point() { x = y = 0 ; count++;}
public Point(float a , float b) { x = a ; y = b;count++;}
// . . . Accessor methods as before
public static int getCount() {return count ;}
protected void finalize() { --count;}