For polymorphism, inheritance would be preferred over interfaces when:
For polymorphism, inheritance would be preferred over interfaces when:
Select Answer:
There is a vertical relationship between the types
The types will have fields and methods
Neither (a) nor (b): the two options are equally applicable
Both (a) and (b)
|