Q. Which of the following is a mechanism that allows several objects in an class hierarchy tohave different methods with the same name (Solved)
1. aggregation
2. polymorphism
3. inheritance
4. all of the mentioned
- b. polymorphism
1. aggregation
2. polymorphism
3. inheritance
4. all of the mentioned