摘要: • 4.1 ColaEmployee :这是所有员工总的父类,属性:员工的姓名,员工的生日月份。方法:getSalary(int month) 根据参数月份来确定工资,如果该月员工过生日,则公司会额外奖励100 元。• 4.2 SalariedEmployee : ColaEmployee 的子类, 阅读全文
posted @ 2021-06-18 12:30 兰佳淇 阅读(20) 评论(0) 推荐(0) 编辑