int main() { Point2D *pt = new Point4D; pt->display(); cout << endl; delete pt; return 0; }
void draw(){ cout<<"center : "; center.display(); cout<<endl<<"radius: "<<radius<<endl; };