Single Level Inheritance in public & private Visibility Modes | C++ Tutorial | Mr. Kishore

  Рет қаралды 84,558

Naresh i Technologies

Naresh i Technologies

Күн бұрын

Пікірлер: 53
@NareshIT
@NareshIT 5 жыл бұрын
Please Comment, Subscribe and Click Bell🔔🔔🔔 Icon for More Updates. To learn software course from our experts please register here for online training: goo.gl/HIB0wL
@prerna.8992
@prerna.8992 6 жыл бұрын
you are doing a great work for students who can't pay high fee for learning the new languages as well who don't have sufficient time to go to any institute to learn the new things. u are setting the examples to whom who paid for the single lecture to watch.education sources should be open to all who genuinely wants to learn something. u are doing a great job for students like us.thanks for uploading the videos and appreciate ur continuous work which u are doing for us. good luck
@alseynidiop8650
@alseynidiop8650 6 жыл бұрын
Sir, You are the most pedagogical teacher I have ever seen in my life. Thank You for these treasury classes.
@Nani-xh7vu
@Nani-xh7vu 5 жыл бұрын
ur way of teaching was superb and due to thi naresh technologies so many students are getting benifitted....thanks to Naresh Technologies
@radhikabmrrao2909
@radhikabmrrao2909 3 жыл бұрын
Very nice explanation sir.... thank you so much.
@sandhyaderangula8949
@sandhyaderangula8949 3 жыл бұрын
Tq so much sir..... Realy it helps a lot to my exams tq sir
@uttarabalaji1739
@uttarabalaji1739 6 жыл бұрын
Mr Kishore i understood the concept very well. thanks a lot.
@ravi_arts4982
@ravi_arts4982 5 жыл бұрын
Thank you sir for sharing your knowledge with us it is very much helpful to the students keep it up sir
@kumaraman4294
@kumaraman4294 5 жыл бұрын
great teaching sir
@TheProgramwizard
@TheProgramwizard 6 жыл бұрын
when we use p.getStu() in public inheritance where is the data for id and name stored. I mean when we create phy object p does p also have memory allocated for name and id??
@aphiwembotho864
@aphiwembotho864 2 жыл бұрын
the stronger the accent the fire the content.
@karthik2728
@karthik2728 5 жыл бұрын
Sir;what happens if I write input accessing statement in main function followed by output accessing statement;again input accessing statement followed by ouput accessing statement?
@arjungautam4542
@arjungautam4542 6 жыл бұрын
excellent explanation
@arjungautam4542
@arjungautam4542 6 жыл бұрын
watching from Nepal
@Funny_vedios0
@Funny_vedios0 3 жыл бұрын
Oh great sir nice lecture 🙏🏻
@faizakhan8467
@faizakhan8467 6 жыл бұрын
sir ji.. if I want public and private mode both in one program then what can I do?
@Masskalauni
@Masskalauni 3 жыл бұрын
You are great sir.
@AmazingLefty
@AmazingLefty 2 жыл бұрын
great teaching..
@viswanathgupta7406
@viswanathgupta7406 7 жыл бұрын
add about function overloading sessions sir
@nareshgoyal1994
@nareshgoyal1994 4 жыл бұрын
Sir I have a doubt that if private member of base class in not participating in inheritance then how they are accessible by public member function of base class which are inherited in sub class.. Plz help me I am confused 😵 now 🙏🙏
@aparnasai6044
@aparnasai6044 4 жыл бұрын
Privated data can access by mem fun of same class In derived class public data of base class is become public data of derived class . Now derived class contains mem fun of base class so we can accesss private data of base class
@oscareribo9352
@oscareribo9352 6 жыл бұрын
U are the best Sir
@pandugope6815
@pandugope6815 4 жыл бұрын
Thanks very much sir
@obtron
@obtron 6 жыл бұрын
Nice tutorial wud suggest to view in 2x
@deveshsinghpal24
@deveshsinghpal24 5 жыл бұрын
thank you so much sir.
@venkataeswaragupthaimfuwdl5154
@venkataeswaragupthaimfuwdl5154 3 жыл бұрын
sir what happens if a base class member functions are declared in private mode. and how can we access it in derived class?
@kohli6371
@kohli6371 2 жыл бұрын
Member function should be public
@aishvaryasaxena4619
@aishvaryasaxena4619 6 жыл бұрын
please upload videos on file pointers and random accessing file operations in c++
@venkateshbavirisetty4239
@venkateshbavirisetty4239 6 жыл бұрын
nice explaination
@viswanathgupta7406
@viswanathgupta7406 7 жыл бұрын
add about inline functions sessions sir
@rakshithkumar9381
@rakshithkumar9381 4 жыл бұрын
what about protected??
@RajnishKumar-bv2mw
@RajnishKumar-bv2mw 6 жыл бұрын
Best on you tube
@brunthar2906
@brunthar2906 2 жыл бұрын
Sir please reply this is called single inheritance: private am i right sir
@allankumar7552
@allankumar7552 7 жыл бұрын
sir, can you upload java classes
@abhishekshayana8509
@abhishekshayana8509 6 жыл бұрын
best lecture
@ttjj2328
@ttjj2328 2 жыл бұрын
why did you use a public specifier in the class phy
@codingwithmiles2732
@codingwithmiles2732 6 жыл бұрын
How to access private members of the base class in the derived class?
@suhilirshad
@suhilirshad 3 жыл бұрын
We cannot do that as they are against to data hiding concept
@codingwithmiles2732
@codingwithmiles2732 3 жыл бұрын
@@suhilirshad thank you so much. When I asked this question that was two years ago and I was just a freshman without any programming background.
@Theexacc
@Theexacc 2 жыл бұрын
you need to have a public member function on that base class which can access the private data members of the base class, , then you can call that member function from a derived class if that derived class was initialised with public visibility
@mounikanayikoti2393
@mounikanayikoti2393 4 жыл бұрын
Sir, ur explanation was simply superb. What happens if the visibility mode is protected when we are deriving sub class. Do the data members of public and protected mode of base class change their mode in sub class class?
@kohli6371
@kohli6371 2 жыл бұрын
If the base class has protected member they can be used by their own class and derived class as well. And if we use protected as a visibility mode the public and protected will become protected in derived class.
@shriteshdethe7880
@shriteshdethe7880 7 жыл бұрын
sir,what is the output of the program?
@AmanDeep-pi9pk
@AmanDeep-pi9pk 7 жыл бұрын
all cin or cout will execute
@stranger9460
@stranger9460 6 жыл бұрын
Great
@rishikumarvirenkumarmehta9635
@rishikumarvirenkumarmehta9635 4 жыл бұрын
Sir ...what happened if we use protected visibility mode?
@ahmedreza1755
@ahmedreza1755 3 жыл бұрын
public and protected become protected in derived class
@arpangoswami2333
@arpangoswami2333 4 жыл бұрын
getphysical()😁
@ChinnuGeetha-s6h
@ChinnuGeetha-s6h 11 ай бұрын
Still we are watching
@codecode855
@codecode855 Жыл бұрын
void get physical 😬
@shadatrahman249
@shadatrahman249 4 жыл бұрын
Bad English
Multiple Inheritance in C++ | C++ Tutorial | Mr. Kishore
18:18
Naresh i Technologies
Рет қаралды 76 М.
Pure Virtual function, Abstract base class | C ++ Tutorial | Mr. Kishore
17:35
Naresh i Technologies
Рет қаралды 94 М.
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
The Dome Paradox: A Loophole in Newton's Laws
22:59
Up and Atom
Рет қаралды 856 М.
Overloading Insertion and  Extraction Operator in C++ | C++ Tutorial | Mr. Kishore
16:55
Solve Any Pattern Question With This Trick!
57:20
Kunal Kushwaha
Рет қаралды 2,5 МЛН
Parameterized Constructors in Inheritance | C++ Tutorial | Mr. Kishore
19:25
Naresh i Technologies
Рет қаралды 60 М.
Inheritance In C++
28:29
CppNuts
Рет қаралды 40 М.
Friend Class in C++ Example 1 | C++ Tutorial | Mr. Kishore
15:05
Naresh i Technologies
Рет қаралды 100 М.
Hybrid Inheritance in C++ | C++ Tutorial | Mr. Kishore
13:09
Naresh i Technologies
Рет қаралды 53 М.