What is polymorphism
Computer Science
ScanSolve AI Answer
Polymorphism in computer science, particularly in object-oriented programming, is the ability of an object to take on many forms. It allows objects of different classes to be treated as objects of a common type, meaning a single interface can be used to represent different underlying forms or data types. For example, a draw() method could behave differently for Circle, Square, and Triangle objects, even though they all respond to the same method call.
Was this helpful?
Still stuck on this one?
Ask a follow-up, and the answer starts from this question.
Got a different question?Ask your own question
More Computer Science Questions

Handwritten Step-by-Step Solution
Get this as a handwritten image on WhatsApp — like a tutor wrote it for you.
Try on WhatsApp