What is polymorphism?

Entry C#

Answer

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

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

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