单选题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?()A AB BC CD D

单选题
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?()
A

A

B

B

C

C

D

D


参考解析

解析: 暂无解析

相关考题:

单选题经检查确诊为小细胞肺癌,首选哪种治疗?(  )A生物学治疗B手术C放射治疗D化学治疗E手术加术后化学治疗

单选题2岁女孩,生后逐渐出现青紫,诊为法洛四联症,今早活动后突然晕厥,青紫加重,伴抽搐,考虑为(  )。ABCDE

单选题胆道蛔虫并发胆道感染(  )。ABCDE

单选题急性颅内压增高已出现脑疝症状时首先选用治疗措施是(  )。A乙酰唑胺B20%甘露醇C50%葡萄糖D地塞米松E腰穿降颅压

单选题输入肠内营养液时,初始的速度为()A20ml/hB50ml/hC60ml/hD80ml/hE120ml/h

单选题该患儿的临床诊断是(  )。A婴幼儿腹泻B婴幼儿腹泻,轻型C婴幼儿腹泻,重型D消化不良,轻型E消化不良,重型

单选题出现这种情况后,护士应该立即(  )。A通知医生B给予面罩吸氧C开放静脉,准备抢救D嘱孕妇左侧卧位E让孕妇继续平躺观察

单选题有一子女的健康夫妇避孕方法首选(  )。A宫内节育器B绝育手术C长效避孕药D男用避孕套E女用外用避孕药膜

单选题下列哪项是β2-肾上腺素受体激动剂缓解哮喘发作的主要机制?(  )A抑制炎症因子释放B抑制变态反应过程C抑制细胞因子生成D舒张支气管E调节LT生物活性

单选题目前最主要的处理措施是(  )。A补液B监测病情C半卧位D应用抗菌药E雾化吸入