...
Here, SalesPerson has indeed overridden the virtual GiveBonus() method defined in the
sealed class PTSalesPerson : SalesPerson
{
public PTSalesPerson(string fullName, int age, int empID,
float currPay, string ssn, int numbOfSales)
:base (fullName, age, empID, currPay, ssn, numbOfSales)
{
}
Do'stlaringiz bilan baham: