package{
import flash.display.Sprite;
publicclass Main extends Sprite{
public function Main(){
}
}
}
class Ball {
private var r;
public function Ball (radius) {
r = radius;
}
}
class ColoredBall extends Ball {
private var c;
public function ColoredBall (radius, color) {
super(radius);
c = color;
}
}