Skip to main content

What is polymorphism?

Entry C#
Quick Answer Polymorphism means one interface, many behaviors. Call animal.Speak() on a Dog, Cat, or Bird รขโ‚ฌโ€ each responds differently through the same method signature. Achieved via method overriding (runtime) and method overloading (compile-time). One of OOP's most powerful features.

Answer

Same method name behaves differently based on object type.
Two types:

  • Compile-time (method overloading)
  • Runtime (method overriding using override )

S
SugharaIQ Editorial Team Verified Answer

This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice