摘要: (封装、继承、super)某公司的雇员分为以下若干类:根 据 要 求 创 建SalariedEmployee、HourlyEmployees、SaleEmployee 和BasePlusSalesEmployee四个类的对象各一个,并计算某个月这四个对象的工资。注意:要求把每个类都做成完全封装,不允许非私有化属性。类图如下: 阅读全文
posted @ 2020-03-09 22:30 shellxx 阅读(2007) 评论(0) 推荐(0)