可学答题网 > 问答 > MCPD(70-536)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You work as an ap


You work as an application developer at Certkiller .com. You have been given the responsibility of creating a class named CalcSalary that will determine the salaries of Certkiller .com’s staff.The CalcSalary class includes methods to increment and decrement staff salaries.You would like to invoke the IncrementSalary and  DecrementSalary methods dynamically at runtime from the sales manager application when needed. After viewing the information displayed in the exhibit, you decide to use the Salary delegate to invoke these methods.  using System;  public delegate boolSalary (Employee Emp, double Amount); public class CalcSalary {  // for promotions  public static bool IncrementSalary (Employee Emp, double Amount) {  // implementation details }  // for demotions  public static bool DecrementSalary (Employee Emp, double Amount) {  // implementation details }  What code should you use?()

  • AA
  • BB
  • CC
  • DD
参考答案
参考解析:
分类:MCPD(70-536)题库
相关推荐

1、You work as an ap

You work as an application developer at Certkiller .com. Certkiller .com wants you to develop&e...

2、You work as an ap

You work as an application developer at Certkiller .com. Certkiller .com has asked you to ...

3、You work as an ap

You work as an application developer at Certkiller .com. You have recently created an applicati...

4、You work as an ap

You work as an application developer at Contoso.com. You use Microsoft .NET Framework 3.5 and&e...

5、You work as an ap

You work as an application developer at Certkiller .com. Certkiller .com is currently using a&e...

6、You work as an ap

You work as an application developer at Certkiller .com. You have been asked to profile a&...