Generation

class from descriptionSun, 13 Nov 2022

Create an abstract class

public abstract class Employee { public string Name { get; set; } public int Salary { get; set; } public Employee(String name, int salary) { Name = name; Salary = salary; } public abstract int getSalary(); }

Questions about programming?Chat with your personal AI assistant