A.
Name and id are a property of every employee and independent of their category. So, these should be implemented in superclass. Every employee has a salary but this is determined by their category. So, getSalary must be a abstract function in superclass and implemented in subclass.