تقييمات الطلاب
( 5 من 5 )
١ تقييمات
فيديو شرح C++ OOP - What is polymorphism in programming? (simple example) ضمن كورس OOP شرح قناة CodeBeauty، الفديو رقم 5 مجانى معتمد اونلاين
Learn how to solve problems and build projects with these Free E-Books
C++ Lambdas e-book - free download here: https://bit.ly/freeCppE-Book
Entire Object-Pascal step-by-step guide - free download here: https://bit.ly/FreeObjectPascalEbook
My Practical Programming Course: https://www.codebeautyacademy.com/
Experience the power of practical learning, gain career-ready skills, and start building real applications!
This is a step-by-step course designed to take you from beginner to expert in no time!
Here is a coupon to save 10% on your first payment (CODEBEAUTY_YT10).
Use it quickly, because it will be available for a limited time.
The word "polymorphism" means to have many forms.
Polymorphism usually occurs when we have multiple classes that are related by inheritance. Because of this, two derived classes can define a method that has the same name, but the different implementation (behavior)
In this video, I'm providing a simple explanation and example of what I mentioned above.
This is a very understandable and simple explanation, that I found on the internet, and I want to share it with you:
If you ask a question like "What is a set?" in the forum topic "Tennis", you'll get one answer and if the forum topic is "Data structures" you'll get an entirely different answer. That's because the people who read these two topics process the same question in different ways. This is basically what polymorphism does!
C++ Object-Oriented Programming playlist:
https://youtu.be/iVLQeWbgbXs - Introduction to OOP
https://youtu.be/1LGJSRFrxqQ - Constructors and class methods
https://youtu.be/a8ZB-TPB6EU - Encapsulation
https://youtu.be/-W-TYjL0aFE - Inheritance
C++ for beginners course: https://www.youtube.com/watch?viBG0fN8lY8Y&listPL43pGnjiVwgQHLPnuH9ch-LhZdwckM8Tq
C++ functions course:
https://www.youtube.com/watch?vBGmDRQzY4CA&listPL43pGnjiVwgRggnsJcz1cK0j7b2-kLML_
Follow me on other platforms:
Instagram - https://www.instagram.com/TrueCodeBeauty
Twitter - https://twitter.com/TrueCodeBeauty
Initial code is available in COMMENTS and on TrueCodeBeauty GIT
https://github.com/TrueCodeBeauty/PolymorphismCpp.git