Question 23 Polymorphism Refers O Overloading Functions Onone Overriding Base Class Functi Q30435076

Using c++
Question 23 Polymorphism refers to O overloading functions ONone of these overriding base class functions ?the ability to assign objects of subclass types to otpect pointer variables of superclass types Question 24 2 pts Assume a base class has a non-virtual member function named rund. If an object pointer ptr declared as the base class is pointing to an object of a derived class, then the code ptr-run): calls both the derived and base print functions it causes a run-time error the derived print function the base class print functionQuestion 23 Polymorphism refers to O overloading functions ONone of these overriding base class functions ?the ability to assign objects of subclass types to otpect pointer variables of superclass types Question 24 2 pts Assume a base class has a non-virtual member function named rund. If an object pointer ptr declared as the base class is pointing to an object of a derived class, then the code ptr-run): calls both the derived and base print functions it causes a run-time error the derived print function the base class print function Show transcribed image text

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *