The following code shows a test program that creates a number of Shape-derived objects and prints out their areas.

 
  • 下面的代码演示一个测试程序,它创建若干Shape派生对象,并输出它们的面积。
今日热词
目录 附录 查词历史