what i want is to count creation of objects and after 10 creatyed then tell me to delete one prevous,so any tinme only 10 there.
is finalize() sitable?
in constructor i increade count and in destructor i decrease count,os in a static int counter I get all my number objet of class mine?
i read "Thinking in java" and Brice say
'Garbage collection is not destruction'