In C++, polymorphism requires:
A. Inheritance only
B. Virtual functions only
C. References only
D. Inheritance, Virtual functions and references
Answer:D
In C++, polymorphism requires:
A. Inheritance only B. Virtual functions only C. References only D. Inheritance, Virtual functions and references