It is desired to design an object-oriented employee record system for a company. Each employee has a name, unique id and salary. Every employee belongs to different categories and his salary is determined by his category. The functions getName, getld and computeSalary are required. Given the class hierarchy below, possible locations for these functions are:
(i) getld is implemented in the superclass (ii) getld is implemented in the suclass (iii) getName is an abstract function in the superclass (iv) getName is implemented in the superclass (v) getName is implemented in the subclass (vi) getSalary is an abstract function in the superclass (vii) getSalary is implemented in the superclass (viii) getSalary is implemented in the subclass

Choose the best design