best squre approach of function best squre approach of function... 📅 2014-01-22 👤 thuyenvinh approach function squre best
定义一个Shape抽象类 定义一个Shape抽象类,在此基础上派生出Rectangle和circle类,二者都有GetArea()函数计算对象面积,GetPerim()函数计算对象的周长。使用Rectangle类派生出一个新类Squre。... 📅 2014-11-30 👤 moshushi0009 Shape 定义 抽象