皮皮学,免费搜题
登录
搜题
【单选题】
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);
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】正确理解和使用共情时,应注意避免
A.
咨询师走出自己的参照框架
B.
咨询师验证自己的共情程度
C.
表达共情因人而异
D.
表达共情不考虑对方的特点和文化背景
【简答题】简述统计学的数据类型。
【简答题】合力在坐标轴上的投影等于各分力在同一坐标轴上投影的( )和。
【单选题】合力在坐标轴上的投影,等于各分力在同一轴上投影的( )。
A.
相加
B.
代数和
C.
相减
【单选题】任意合金的有序结构形成温度()无序结构形成温度
A.
低于
B.
高于
C.
可能低于或高于
【单选题】正确理解和使用共情时,应注意避免( )。
A.
心理咨询师走出自己的参照框架
B.
心理咨询师验证自己的共情程度
C.
表达共情因人而异
D.
表达共情不考虑对方的特点和文化背景
【单选题】正确理解和使用共情时,应注意避免( )。
A.
咨询师走出自己的参考框架
B.
咨询师验证自己的共情程度
C.
表达共情因人而异
D.
表达共情不考虑对方的特点和文化背景
【简答题】看图连线,发动机罩内板第二序修边冲孔模下模图
【简答题】正确理解和使用共情时,应注意避免( ) (A)心理咨询师走出自己的参照框架 (B)心理咨询师验证自己的共情程度 (C)表达共情因人而异 (D)表达共情不考虑对方的特点和文化背景
【简答题】合力在一坐标轴上的投影等于它的各分力在同一坐标轴上投影的代数和,这就是()定理。
相关题目: