Access Specifiers in Inheritance with Example | Public - Protected - Private | OOPs in C++

preview_player
Показать описание
Support Simple Snippets by Donations -
--------------------------------------------------------------------------------------------- In this video tutorial we will understand how inheritance works and we will see a program example which shows how inheritance can be performed in the 3 different modes that is public, protected and private.
We will see the difference between the 3 modes of inheritance in c++
This tutorial will give you a very clear and practical understanding of the 3 different access specifiers that work along with inheritance in c++

Simple Snippets Official Website -
Simple Snippets on Facebook-
Simple Snippets on Instagram-
Simple Snippets Google Plus Page-
Simple Snippets email ID-

UpSkill is an Ed-Tech Company / Coaching Centre for Information Technology / Computer Science oriented courses and offer coacing for various Degree courses like BSc.IT, BSc.CS, BCA, MSc.IT, MSc.CS, MCA etc.

Contact via email /call / FB /Whatsapp for more info

We also Provide Certification courses like -
Android Development
Web Development
Java Developer Course
.NET Developer Course
Рекомендации по теме
Комментарии
Автор

Hey Guys, if you want more such tech educational videos on this channel then please support me by subscribing to this channel & also share it with your friends as it helps me create more content just for you ✌

SimpleSnippets
Автор

You've taught me something in 15 min video that my lecturer could not explain clearly in a 3 hour lecture. Thank you!

masterofdisasters
Автор

I feel proud when you get wonderful feedback from people residing in other countries...Sir you doing a very great job.

santoshbiradar
Автор

So underrated best explanation i can get abt programming....✌

mehak
Автор

All the members variable are derived into derived class according to the access specified. We can't say Private data members won't be derived because they are Private.
1. Write a public function which prints the Private member variable.
2. Inherit the base class into derived class with Public access.
3. Create an object of derived class & call the print function.
4. You can access & print the Private member variable from that print function.

raghuhr
Автор

and the perfect illustration of this topic, amazing sir

anasmirza
Автор

Maybe you have very less atm, but soon i think you will have trendous subscribers. Amazing videos you make

aryankashyap
Автор

It was just awesome
the way you explain things are awesome

dogwoofwoof
Автор

You are really the best programming teacher

dkf
Автор

This was incredibly precise and covered every detail !

humairafasihahmed
Автор

Amazing teaching sir, just watching your videos clears the mind about so many C++ topics .
Lovely teaching style sir, and liked that "peace" in the end 😄

chhandchaughule
Автор

Sir once again you proved yourself best...

wurmhhm
Автор

student ka loss hua hai. kyuki jab jab cpp search kiya, apka video 3rd number pe aya hai. first place me ana chahiye. VERY WELL explained. me mech se hu fir bhi cpp me interest jaga diya apne.

shreyash
Автор

Thank you so much for making this C++ video

Ninonakano_
Автор

Whats going on guys?... this videos are amazing... why don´t you click "like"?... is the least thing we can do to support the creator...

Hydro
Автор

After the access specifier become protected in derived class How can I access the protected data members from the derived class??

SMmmm-tj
Автор

beautiful teaching sir.thank you so much.

amutha
Автор

why do you always use int main(), i tried to use void main() in code blocks, it gave me an error "main function must return an integer value", even though my main() wasn't supposed to return anything, i should have been easily allowed to use void.
what is wrong ? please help . :(

arrow
Автор

is constructor of base class come into the derived class?

gurjotsingh
Автор

You are great but why there are no ads on your videos 😢😢😢

Other tutorial videos have lot of ads on thier videos😢😢

neerajmahapatra