Question
Which of the following is not true about a set of methods that are usefully polymorphic? This question only considers inheritance-based polymorphism i.e. it does
Which of the following is not true about a set of methods that are usefully polymorphic? This question only considers inheritance-based polymorphism i.e. it does not consider Interfaces. Select one: a. They must have identical signatures and therefore belong to separate classes b. Their classes share a common ancestor class from which they are ultimately inherited c. Each should produce a specialised effect appropriate to their class and therefore different to each other d. To be invoked polymorphically, an object of their class's type must be referenced by a variable of an ancestor's type common to all of them e. If you think all of the above are true, select this option
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started