Junior OOP

What is polymorphism?

  • Ability of an object to take multiple forms.
  • Types:
  • Compile-time (method overloading)
  • Run-time (method overriding)

Vehicle v = new Car();

v.Start(); // Run-time polymorphism

More from C# Programming Tutorial

All questions for this course