91) It is desired to design an object-oriented employee record system for a company. Each employee has a name, unique id and salary. Employees belong to different categories and their salary is determined by their category. The functions geName, getId and compute Salary are required. Given the class hierarchy below, possible locations for these functions are:
(i) getId is implemented in the superclass
(ii) getId is implemented in the subclass
(iii) getName is an abstract function in the sup
Answer is:
(i), (iv), (vi), (viii)
Related Databases MCQ with Answers
Answer is:
Hashed file
Answer is: