C++ #20 - polymorphisme
One interface to rule them all! Or rather, an implementation that can take several forms, depending on the actual type of the entities. 00:00 Introduction 00:21 What is polymorphism? 01:02 Example code 02:59 Setting up inheritance 05:38 Virtual method in a class 07:24 Overriding a method in a subclass 10:43 Adding new types for polymorphism 12:28 Accessing attributes from a subclass 15:24 How polymorphism works 20:37 An update on ad hoc polymorphism 21:16 Calling a method from the parent class 22:34 Abstract class 25:04 Pure virtual method 26:55 What's the difference with an interface? 32:30 Conclusion ➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖ 💙 If you haven't already, don't hesitate to subscribe to the channel! ➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖ ◾ Support FormationVideo: https://bit.ly/2L0xNXA ◾ Website: https://jasonchampagne.fr ◾ Discord: https://jasonchampagne.fr/discord ◾ Twitch: / jachampagne ◾ YouTube (personal): / jasonchampagne ◾ Twitter: / jachampagne8 ◾ Facebook: / jachampagne8 ◾ Instagram: / jachampagne8 ◾ Snapchat: / jachampagne8 🔵 Credits: Music provided by La Musique Libre Wontolla - Can You Feel Me (ft. Nathan Brumley): • |Musique libre de droits| Wontolla - Can Y... Wontolla: / iamwontolla Nathan Brumley: / nathanbrumleysongwriter THANK YOU FOR YOUR LOYALTY 💙! #CPP #polymorphism #interface

C++ #21 - tableaux

C++ #19 - Inheritance

Cours/Tuto C++ #31 : Polymorphisme

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

I Wish Someone Explained Linux Like This

How to Actually Learn C (2027 Edition)

The worst programming language of all time

Why mathematicians are worried about the future of their discipline

Programmation C++ : POO - L'héritage

Cours/Tuto C++ #30 : Héritage

The French Do Not Care About Work
![C++ Polymorphism and Virtual Member Functions [6]](https://i.ytimg.com/vi/4NPOIaUxnnk/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLBCbJ-32mFJyIc4jeLNoqd9pAJXGA)
C++ Polymorphism and Virtual Member Functions [6]

C++ OOP - What is polymorphism in programming? (simple example)

USA – Paraguay Highlights | Gruppe D, FIFA WM 2026 | sportstudio

Java #21 - polymorphisme

C++ Tutorial 11 : Polymorphism

Cours/Tuto C++ #50 : Les Template

Threads in C++

The Design of C++ , lecture by Bjarne Stroustrup

