试题详情
- 单项选择题您已创建一个名为 CalcSalary,将确定 Certkiller.com 员工的薪酬类的责任。CalcSalary 类包括员工的薪酬递增和递减的方法。下面的代码包含在 CalcSalary 类中:()public class CalcSalary {// for promotionspublic static bool IncrementSalary (Employee Emp, double Amount){if (Emp.Status == QuarterlyReview.AboveGoals)Emp.Salary += Amount;return true;
A、public delegate bool Salary (Employee Emp, double Amount);
B、public bool Salary (Employee Emp, double Amount);
C、public event bool Salary (Employee Emp, double Amount);
D、public delegate void Salary (Employee Emp, double Amount);
- A
关注下方微信公众号,在线模考后查看
热门试题