移动端

  • 题王微信公众号

    题王微信公众号

    微信搜“题王网”真题密题、最新资讯、考试攻略、轻松拿下考试

单选题

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?()

发布日期:2021-01-28

You work as an application developer at Certkiller...
A

A

B

B

C

C

D

D

题王网让考试变得更简单

扫码关注题王,更多免费功能准备上线!

此试题出现在

CMS专题

CMS专题

去刷题
热门试题热门资讯 相关试题

暂无相关推荐~