6.实验数据和实验结果(用屏幕图形表示,可另加附页):
运行结果:
area:12.566370614359172
perimeter:12.566370614359172
2007-9-19 14:32:29 fox.math.kmust.Circle draw
信息: draw()
2007-9-19 14:32:30 fox.math.kmust.Shape message
信息: Message()
2007-9-19 14:32:30 fox.math.kmust.Rectangle draw
信息: draw()
2007-9-19 14:32:30 fox.math.kmust.Shape message
信息: Message()
My real Class is:fox.math.kmust.Circle
My radius is:2.0
My area is:12.566370614359172
My perimeter is:12.566370614359172
-----The Line For Fox-----TLFF-----The Line For Fox-----
area:9.0
perimeter:12.0
My real Class is:fox.math.kmust.Rectangle
My length is:3.0
My width is:3.0
My area is:9.0
My perimeter is:12.0