题目内容

世界上第一部用纸印刷的著作是()。

查看答案
更多问题

代森锌的药剂期较短,其残效期约()。

A. 5天
B. 6天
C. 7天
D. 8天

冬瓜主要引蔓方式有顺藤式、剪刀式及()。

A. 盘藤式
B. 单蔓式
C. 双蔓式
D. 三蔓式

各种会计账务处理程序的相同之处在于()

A. 根据总账和明细账的记录编制会计报表
B. 根据记账凭证登记各种明细账
C. 根据记账凭证逐笔登记总账
D. 不填制记账凭证
E. 根据原始凭证编制原始凭证汇总表(汇总原始凭证)

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. The following code is included in the CalcSalary class: public class CalcSalary { // for promotions public static bool IncrementSalary (Employee Emp, double Amount) { if (Emp.Status == QuarterlyReview.AboveGoals) Emp.Salary += Amount; return true; } else return false; } //for demotions public static bool DecrementSalary (Employee Emp, double Amount) { if (Emp.Status == QuarterlyReview.AboveGoals) Emp.Salary -= Amount; return true; } else return false; } } You would like to invoke the IncrementSalary and DecrementSalary methods dynamically at runtime from the sales manager application, and decide to create a delegate named SalaryDelegate to invoke them. You need to ensure that you use the appropriate code to declare the SalaryDelegate delegate.What is the correct line of code?()

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);

答案查题题库