Access Specifiers : Public Private Protected in C++

preview_player
Показать описание
In C++ there are three access specifiers private, public and protected.
Public members can be accessed any where in program, private member can only be access in block where they are declared and protected are same as private except it can also be accessed in child class.
Рекомендации по теме
Комментарии
Автор

After one year of programming and two programming languages at college, finally someone manage to explain this well and short. Thank you!!

lazarnikolovski
Автор

I found this useful to help me understand a topic that I was having difficulty with. Thank you my friend!

justasingledronevideo
Автор

Thanks 5:20 was what I was looking for

hitmovies
Автор

Thank you so much sir... your explanation was wonderful as well as beauty in short duration of time I understood easily and I have oop exam tomorrow

vinaykumarmb
Автор

Simply it is local and global variable??

princemakadiya
Автор

Thank you. This is an easy and perfect explanation.

VasanthTulasi