Ask Question
3 February, 14:05

What object oriented feature can we use to have a single test program, with one set of method calls in which the user can decide which bag implementation (array - or link-based) needs testing?

+2
Answers (1)
  1. 3 February, 15:53
    0
    The answer is "Polymorphism".

    Explanation:

    Polymorphism is a feature of the object-oriented programming (OOPs) language, in which data or an object is dividing into more than one form. In other words, we can say that the capacity of various objects to obtain and react in different ways is polymorphism. It enables interaction with both objects and common interfaces that hide various details of their implementation.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “What object oriented feature can we use to have a single test program, with one set of method calls in which the user can decide which bag ...” in 📙 Physics if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers