Polymorphism is one of those big CS-heavy words most people don't know. You actually have already covered it without you knowing.
- [Instructor] Polymorphism is one of those big, scary words … in software engineering … and really just object-oriented programming … that isn't all that complicated. … It's just one of those words you don't use. … We've actually been doing it this whole time … and sometimes when dealing with some … of these more complex topics or these scary topics, … the way I like to do about it … is just to introduce it to you, … don't tell you what it is … and then tell you you already know it. … And it sort of demystifies it a little bit. … So let's talk about the three main tenets … of polymorphism and look at a few examples … of things you already have done. … One is the method and parameter overriding, … where the child overrides a parent method. … This is something we've done time and time again. … So let's take a look at our User class here. … It just has a firstName, age, and email. … And in our Base class, … we have a protected role that we're going to have access to … and other aspects. …
Skill Level Intermediate
TypeScript: Upgrades and Featureswith Emmanuel Henri1h 15m Advanced
TypeScript for Node.js Developerswith Emmanuel Henri1h 2m Intermediate
1. Classes in TypeScript
2. Inheritance in TypeScript
3. Access Modifiers in TypeScript
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.