摘要: 转自:https://www.cnblogs.com/jiangxinnju/p/4908575.html 欢迎关注我的社交账号: 博客园地址: http://www.cnblogs.com/jiangxinnjuGitHub地址: https://github.com/jiangxincode知乎 阅读全文
posted @ 2019-06-07 17:57 wdliming 阅读(1171) 评论(0) 推荐(0)
摘要: 运行结果:The area of Cuboid is 2200The volume of Cuboid is 6000The area of Cube is 1350The volume of Cube is 3375本例中定义了四个类,它们的继承关系为:Line --> Rec --> Cuboi 阅读全文
posted @ 2019-06-07 00:03 wdliming 阅读(1186) 评论(0) 推荐(0)