package cn.edu.bjut.chapter4; public class CircleTester { public static void main(String[] args) { Circle1 c1 = new Circle1(5); Circle2 c2 = new Circle2(5); System.out.println(c1.area() + "\t" + c2.area()); System.out.println(c1.perimeter() + "\t" + c2.perimeter()); } }