Question: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 Shared Function IncrementSalary(Emp As Employee, Amount As Double) As Boolean
If Emp.Status = QuarterlyReview.AboveGoals Then
Emp.Salary += Amount
End If
Return True
End Function
End Class - (VB.NET) 

A Public Delegate Function Salary(Emp As Employee, Amount As Double) As Boolean 

B Public Function Salary(Emp As Employee, Amount As Double) As Boolean End Function 

C Public Event Salary (Employee Emp, double Amount) As Boolean 

D Public Delegate Sub Salary(Emp As Employee, Amount As Double) 

+ Answer
+ Report
Total Preview: 2515

Copyright © 2024. Powered by Intellect Software Ltd