Ask Question
5 October, 23:04

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?

+1
Answers (1)
  1. 5 October, 23:17
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers