Get clear, concise, and accurate answers to your questions on IDNLearn.com. Join our Q&A platform to receive prompt and accurate responses from knowledgeable professionals in various fields.
Answer:
a. only if both the base class method and the derived class method are declared virtual.
Explanation:
The parameters will invoke derived class version, because objected pointed to determine which method is called. The base and derived class are declared virtual Overriding feature allows subclass and derived class to provide implementation.