This worked at last...
if (obj[i] instanceof ResizableCircle) {
Resizable c = (ResizableCircle) obj[i];
c.resize(5);
}
if (obj[i] instanceof ResizableRectangle) {
Resizable r = (ResizableRectangle) obj[i];
r.resize(10);
}