Inheritance In C++
VloĹžit
- Äas pĹidĂĄn 27. 08. 2024
- JOIN ME
-----
CZcams đŹ / @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
You are Genius bhai..!!
Thanks its still one of the Best playlist exist on Inheritance
This was one of the best explainations I have ever seen. Thanks mate!!
Great Boss ,Love from Bangladesh
So much knowledge in a single playlist. Thanks đ
Thanks man!!
you speak in good manners and also in the simple english
jiazak allah hu khair
Thanks a lot bro....u honestly teach better than the teachers at VIT lol :)
nice explanation ....thank you
Awsome explanation I ever saw..... Even my phd professor also failed to inject this topic into me...., but you did. Thanks a lot sir
Great job, thanks for your work.
the best intro to c++ inheritance ever!!!!!
Thanks man..
Thanks CppNuts. Your explanation is great. Glad to have found you.
Glad to help!
This is the best I've seen so far
Thanks bro .
Make a playlist on competitive programming âşď¸âşď¸
Hello Sir...i like the way you teach about Inheritance in C++... So clear and smooth đ
Thanks.. learning in lockdown... :)
Keep it up
cat says: meow
dog says: bow
dino says: BRAWWđ
Thank you sir , it was useful videođ¤
thank you soo much my friend you helped me ,you are life saver ,my greetings from Morocco â¤â¤â¤â¤â¤â¤
You are most welcome
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.
Happy to see your channel is growing faster.
Thanks dude..
Again, you are the best teacher out there!
Thanks man..
@@CppNuts Totally echo above comment! Thank God I found you!
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
thank you for this series sir
You are most welcome
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.
Fruitful video.pls make a video for use of inheritance in interface as well
Ur class was really awesome....And easy to understand... CONTINUE THE SAME
Thanks man..
the way yu laugh is incredible its worth watching thanks man.
Thanks man..
Excellent video sir...
Thanks and welcome
you explained it perfectly bhai! very underrated playlist
Thanks a ton
Loved it sir
Thanks man..
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.
amazing content sir ill pass the exam
All the best..
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..
Just amazzzzzzzzing.....
Thank a lot :) . You cleared all my doubts
Glad to hear that
easily understood!! thankyou
Glad it helped!
Awesome experience bro
can share which compiler are you using?
Nice explanation bro đ
Thanks
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.
Is inheritance only used between the class function in a programming?
i liked ur video a lot . Do ur channel have full corseon c++
Thanks
Yes kind of.
Please make vedios for Windows Forms using C++ in Visual studio :)
Excellent videos đĽłđĽł
Thanks man!!
nice explanation sirđ
Thanks and welcome
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...
Your playlist is 26:28
For more visit :
czcams.com/video/1CEk7I0YlQI/video.html
Which IDE you're using ?
It is sublime text editor 3.
you are awesome.
You rock!
you are awesome
You too!
please who know c++ ide more simple and clear like that in the video
Sublime text editor.
@@CppNuts thanksđˇ
what ide is this?
Sublime Text Editor 3.