Question: Question 3 2 1 pts Can we use Object Variables instead of Pointers and maintain polymorphism? Io , not at all, trying to assign a

Question 32
1 pts
Can we use Object Variables instead of Pointers and maintain polymorphism?
Io, not at all, trying to assign a child object type to a parent object variable will cause a compilation error
es, Ilike pointers object variables are completely compatible with polymorphism
es, but you have to use virtual to allow the compiler to engage in polymorphism
Purpose a as no vererideden method definitions will be useable.
purpose as no overidden method definitions will be useable.
Question 3 2 1 pts Can we use Object Variables

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!