Back to Browse

Polymorphic Behavior & Downcasting in C++ OOP

488 views
Jan 13, 2025
12:03

In this video, we will polymorphic behavior and downcasting in C++ object oriented programming. Polymorphism is the concept of when a derived class is considered as if it was an object of its base class. Downcasting is the concept of converting a base class object to a derived class object. What we will see in this video is how to create base class pointers to base class object, Derived class pointers to derived class objects, Base class pointers to derived class object and introduce the concept of Late Binding. Later on we will discuss downcasting Previous Video: https://youtu.be/Ry7D_DaZyQM πŸ”΄About My YouTube Channel Tech By RalphπŸ”΄ β€’Welcome to Tech By Ralph, The YouTube Channel Passionate About Technology and Programming. This Channel is All About Educating People Interested in the Field of Technology and Programming. What Tech By Ralph Exactly Offers is Informative Videos About Modern Technology in Our World, as Well as How to Videos, Tips and Tricks, Educational Videos, And Tutorials. Everything is Tech-Related Content and Programming, Helping You Evolve Your Skills and Stay Up-To-Date With Technology. Schedule: Every Monday and Thursday, So Turn on The Notification bell. βœ…Subscribe to The Channel For More Tech Content and Programmingβœ… - - - - - - - - - - - - - β€’Subscribe to Tech By Ralph: https://www.youtube.com/channel/UC2A__LgeTOVri3RfUfjJBvQ πŸ’Ώ Recommended Playlists: -Learn git and github for Beginners: https://www.youtube.com/playlist?list=PLVaUPeVgW7OqjWX6Esbrtq3f0Ww0f7l0_ -Learn Python for Complete Beginners: https://www.youtube.com/watch?v=c40LLcvfMhE&list=PLVaUPeVgW7OqF16FdtEy01QcUQ64BKS_p - Full Python OOP Tutorial: https://www.youtube.com/watch?v=_7gjO7ykybI&list=PLVaUPeVgW7Oqx4_gK6k7a-1CCNSdeXCve -Learn Web Development With HTML and CSS: https://www.youtube.com/playlist?list=PLVaUPeVgW7Opi9Or5VZu2Jfx9VMsphEin πŸŽ₯ Recommended Videos: - Python Or JavaScript? https://youtu.be/psLrvV6vm2U - Python Socket Programming Tutorial: https://youtu.be/5z9FYNgmL6s - C++ In 4 Minutes: https://youtu.be/py_iXHGSXgE - Typescript in 4 Minutes: https://youtu.be/_LIVHg1PN8U - C Sharp in 4 Minutes: https://youtu.be/R4inB1hageE - Dart in 4 Minutes: https://youtu.be/-D4AEn8UXz8 🎡 Songs Used In this Video 🎡 –––––––––––––––––––––––––––––– Buddha by Kontekst https://soundcloud.com/kontekstmusic Creative Commons β€” Attribution-ShareAlike 3.0 Unported β€” CC BY-SA 3.0 Free Download / Stream: http://bit.ly/2Pe7mBN Music promoted by Audio Library https://youtu.be/b6jK2t3lcRs –––––––––––––––––––––––––––––– Track: Julius Dreisig & Zeus X Crona - Invisible [NCS Release] Music provided by NoCopyrightSounds. Watch: https://youtu.be/QglaLzo_aPk Free Download / Stream: http://ncs.io/InvisibleYO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ➑Please Note That All Videos and Information on This Channel are for Educational and Informational Purposes Only. πŸ”– Hashtags πŸ”– #programming #computerscience #coding #technology #tech #softwareengineer #softwaredeveloper #programming #coding #cpp TIMESTAMPS: 0:00 Introduction 0:52 1- Base Pointer to Base Object 1:45 2- Derived Pointer to Derived Object 3:22 3- Base Class Pointer to Derived Object 6:22 4- Downcasting 11:40 END

Download

1 formats

Video Formats

360pmp416.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Polymorphic Behavior & Downcasting in C++ OOP | NatokHD