What is a polymorphic data structure, and how does it work?
What is a polymorphic data structure, and how does it work?
Choose one:
a.It is a data structure that stores instances of the same classes as data.
All classes that can be used for storing must have the same parent, and virtual methods are not allowed.
b.It is a data structure that stores instances of the same classes as data.
All classes that can be used to store data must have the same parent and must have virtual methods.
c.It is a data structure that stores instances of the same classes as data.
All classes that can be used to store data must have the same parent and can have virtual methods.
d.It is a data structure that stores instances of several classes as data.
All classes that may be used to store data must have the same parent and include virtual methods.

Step by step
Solved in 2 steps









