Course Object Oriented Programming

Polymorphism Ad Hoc

Course's Page 13 min Text by
User Image
Abacate

In this lesson, we will learn how polymorphism in POO works.

Pillars - Review

So far we have learned the following pillars of object-oriented programming.

  • Pillar 01 - Abstraction: Abstract essential characteristics.
  • Pillar 02 - Encapsulation: Data protection.
  • Pillar 03 - Inheritance: Class creation based on another.

In this class, we will learn the last pillar.

  • Pillar 04 - Polymorphism: ...

Polymorphism

The term polymorphism refers to the ability of something to take various forms. In POO it refers to an object being able to assume different behaviors for the same action, depending on the context.

Types