Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
Lessons:18Length:2 hours
  • Overview
  • Transcript

5.4 Overriding Methods & Polymorphism

In this video we’re going to see how we can override one of our superclass’s methods from within a subclass to give the method new instructions so that it works differently from the original implementation. This process of overriding a method will also illustrate the concept of polymorphism. Let’s get started!