OOP foundations

Polymorphism

One call, many forms: the SAME method name resolves to different behaviour depending on the actual object, decided at runtime. An animated lesson where the diagram draws itself as the design grows.

  • Lesson 5 of 8
  • Animated diagrams

Sign in with Google or GitHub and you land straight on this page. DSA comes with the all labs plan and every ChaiCode batch.

8 lessons, each with diagrams that draw themselves.

What you will learn

  • Many shapes, one name
  • Dynamic dispatch
  • Why it's the heart of OOP design

More low-level design

Watch Polymorphism take shape

Sign in and the lesson opens with its diagram ready to play, and the rest of OOP foundations beside it.

DSA comes with the all labs plan and every ChaiCode batch.