CS计算机代考程序代写 public class Test {

public class Test {

public static void main(String[] args) {

Circle c, d;

d = new Circle(100.0, 200.0, 10.0);
System.out.println(d.getRadius());

c = new Circle();
System.out.println(c.getX());

Rectangle r, s;

r = new Rectangle();
System.out.println(r.getWidth());

s = new Rectangle(50.0, 50.0, 10.0, 15.0);
System.out.println(s.getY());

}

}