Polymorphism and Interfaces
Duration:
Created with
Ben Fhala
Ben Fhala is the creative force and founder behind 02geek, a pioneering platform dedicated to making web development accessible to everyone. With over 18 years of experience in the industry, Ben has a deep passion for teaching and a knack for breaking down complex concepts into easy-to-understand lessons.
Polymorphism and Interfaces Overview
What you'll learn
We are reaching another large step in our training. In the next hour we will continue and build on the OOP skills we developed so far. We will continue and refine our last examples and then move on to a new topic polymorphism. Polymorphism even though it has a very scary name is actually a very easy concept as long as you ignore its name. Polymorphism enables us to treat many object types as if they where one type of object. The idea behind it is to treat objects based on what they do instead of what they are. In the process we will discover the glue that will make it possible - we will create an interface and then integrate it into our logic and show case how it works.