Inheritance In C++
Вставка
- Опубліковано 19 жов 2024
- JOIN ME
-----
UA-cam 🎬 / @cppnuts
Patreon 🚀 / cppnuts
COMPLETE PLAYLIST
------------
C++ Tutorial For Beginners: • Introduction To C++
STL (Standard Template Library): • STL In C++
ThreadIng In C++: • Multithreading In C++
Data Structures: • Data Structure
Algorithms: • Binary Search
Design Patterns: • Factory Design Pattern...
Smart Pointers: • Smart Pointer In C++
C++14: • Digit Separator In C++
C++17: • std string_view in C++...
C++ All Type Casts: • static_cast In C++
INTERVIEW PLAYLIST
------------
C++ Interview Q&A: • Structural Padding & P...
C++ Interview Q&A For Experienced: • How delete[] Knows How...
Linked List Interview Questions: • Find Kth Node From Bac...
BST Interview Questions: • Search Element In Bina...
Array Interview Questions: • Reverse An Array
String Interview Questions: • Check String Is Palind...
Bit Manipulation Questions: • Find Set Bit In Intege...
Binary Tree Interview Question: • Invert Binary Tree
Sorting Algorithms: • Bubble Sort
C++ MCQ: • Video
C MCQ: • What printf returns af...
C Interview Questions: • Designated Initializat...
QUICK SHORT VIDEOS
-------------
C++ Short : • C++ Short Videos
C Short : • Shorts C Programming MCQ
In this video we will learn about "Inheritance In C++". This is core feature of OOPS in C++ programming language.
Q. WHAT IT DOES??
A. It inherits the features/properties/characteristics of Base class into Derived class.
a. Code Re-usability
TERMINOLOGY: Base/Derived OR Parent/Child
TYPES OF INHERITANCE:
1. Single
A derived class with only one base class is called single inheritance.
2. Multilevel
A derived class with a base class and that base class is a derived class of another, is called multilevel inheritance.
3. Multiple
A derived class with multiple base class is called multiple inheritance.
4. Hierarchical
Multiple derived classes with same base class is called hierarchical inheritance.
5. Hybrid
Combination of multiple and hierarchical inheritance is called hybrid inheritance.
6. Multipath
A derived class with two base classes and these two base classes have one common base class is called multipath inheritance.
MODES OF INHERITANCE
1. public (Visible to everyone)
2. protected (Visible to current class and derived class only)
3. private (Visible to current class only)
#inheritance #oops #cpp #programming #tutorial
Hi everyone, Don't forget to hit LIKE and SUBSCRIBE button for more videos like this!!
And this will help me a-lot.
Why are you so underrated sir? This is my first video of your's and I already subscribed to you because how good your explanation is. I will definitely recommend this channel to others.
Thanks
Thanks its still one of the Best playlist exist on Inheritance
This was one of the best explainations I have ever seen. Thanks mate!!
So much knowledge in a single playlist. Thanks 😊
Thanks man!!
Great Boss ,Love from Bangladesh
you speak in good manners and also in the simple english
jiazak allah hu khair
You are Genius bhai..!!
Thanks a lot for such powerful videos on Inheritance..As you mentioned , you were learning c++ from books..so after that when internet era came , what are the sources that you used to excel C++..Kindly comment it will help beginners to surf the good online materials
Thanks for your comment.
My biggest source of learning was stackoverflow.
I used to see what kind of problem comes in cpp and what are the potential fixes for them and that's how I learned cpp.
Awsome explanation I ever saw..... Even my phd professor also failed to inject this topic into me...., but you did. Thanks a lot sir
Thanks CppNuts. Your explanation is great. Glad to have found you.
Glad to help!
the best intro to c++ inheritance ever!!!!!
Thanks man..
Thanks bro .
Make a playlist on competitive programming ☺️☺️
Sir you just explain it so effortlessly. I was struggling with inheritance but now i have understood it in a way that i won't ever forget. And your laughter at 21:12 was amazing sir 😀😀😀😂😂😂😂
Glad to hear that
Hello Sir...i like the way you teach about Inheritance in C++... So clear and smooth 🙂
I think there is a little mistake about 20:00 when giving an example about multilevel inheritance. In derived class, the access modifier is private. Hence Derived class also cannot access x of Base.
This is the best I've seen so far
Great job, thanks for your work.
Thanks a lot bro....u honestly teach better than the teachers at VIT lol :)
nice explanation ....thank you
Hello, is there any video where you have explained about access specifiers. Please share link.
I don't remember having this video, i will let you know once i post.
Thanks.. learning in lockdown... :)
Keep it up
Fruitful video.pls make a video for use of inheritance in interface as well
the way yu laugh is incredible its worth watching thanks man.
Thanks man..
Happy to see your channel is growing faster.
Thanks dude..
cat says: meow
dog says: bow
dino says: BRAWW😂
thank you soo much my friend you helped me ,you are life saver ,my greetings from Morocco ❤❤❤❤❤❤
You are most welcome
Thank you sir , it was useful video🖤
Ur class was really awesome....And easy to understand... CONTINUE THE SAME
Thanks man..
Again, you are the best teacher out there!
Thanks man..
@@CppNuts Totally echo above comment! Thank God I found you!
you explained it perfectly bhai! very underrated playlist
Thanks a ton
thank you for this series sir
You are most welcome
Is inheritance only used between the class function in a programming?
Excellent video sir...
Thanks and welcome
i liked ur video a lot . Do ur channel have full corseon c++
Thanks
Yes kind of.
Wow, a playlist made only for inheritance? I have been looking for inheritance in C++ course, and I ended up in your playlist. I'll be watching the whole playlist, I guess
Thanks man..
easily understood!! thankyou
Glad it helped!
Awesome experience bro
Loved it sir
Thanks man..
can share which compiler are you using?
Please make vedios for Windows Forms using C++ in Visual studio :)
amazing content sir ill pass the exam
All the best..
Thank a lot :) . You cleared all my doubts
Glad to hear that
Just amazzzzzzzzing.....
I think you have used wrong word...you should use not accessible instead of not inherited..private member get inherited but are not accessible...you can check with sizeof().if I am wrong , please let me know.
Excellent videos 🥳🥳
Thanks man!!
Nice explanation bro 👍
Thanks
Liked & Subscribed
nice explanation sir👌
Thanks and welcome
Which IDE you're using ?
It is sublime text editor 3.
Nice video!
Thanks man!! 😀
Actually iam 0% attendance in class but 80% in result sheet bcz n watching ur videos and hold a topics
Great...
you are awesome.
You rock!
you are awesome
You too!
Your playlist is 26:28
what ide is this?
Sublime Text Editor 3.
please who know c++ ide more simple and clear like that in the video
Sublime text editor.
@@CppNuts thanks🌷
For more visit :
ua-cam.com/video/1CEk7I0YlQI/v-deo.html