using System; public class shape { protected int x_; protected int y_; public shape() { x_=0; y_=0; } public shape(int x,int y) { x_=x; y_=y; } public virtual void print() { System.Console.WriteLine(" shape {0} {1}",x_,y_); } } public class circle : shape { private int radius_; public circle() { x_=0; y_=0; radius_=0; } public circle(int x,int y,int radius) { x_=x; y_=y; radius_=radius; } public override void print() { System.Console.WriteLine(" circle {0} {1} {2}",x_,y_,radius_); } } public class rectangle : shape { private int length_; private int breadth_; public rectangle() { x_=0; y_=0; length_=0; breadth_=0; } public rectangle(int x,int y,int length,int breadth) { x_=x; y_=y; length_ = length; breadth_ = breadth; } public override void print() { System.Console.WriteLine(" rectangle {0} {1} {2} {3} ",x_,y_,length_,breadth_); } } class c2202 { public static int Main() { int i; string line; shape [] s = new shape[3]; s[0]=new shape(10,20); s[1]=new circle(100,200,300); s[2]=new rectangle(1000,2000,3000,4000); for (i=0;i