What is the benefit of using polymorphism in OOP?
Allows objects of different classes to be treated as objects of a common superclass
Improves program efficiency
Baroque art features strong contrasts, while Rococo art prefers more subtle transitions
Baroque art is generally larger in scale than Rococo art

Computing Exercises are loading ...