ACCESS SPECIFIERS IN INHERITANCE(MUST WATCH) -40

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ม.ค. 2025

ความคิดเห็น • 115

  • @nitishkhanna9368
    @nitishkhanna9368 7 ปีที่แล้ว +10

    you made a good job by explaining it just by showing without adding voice. This technique will never let the viewer get deviated from the video. Adding voice can sometimes be boring as viewers generally tend to do some other job while viewing since they think that they're hearing and that's well enough for them(it happens with me) :p

  • @mrvictor4840
    @mrvictor4840 6 ปีที่แล้ว +28

    Fascinating bro. I wish i could give you a millions of likesssss.

    • @Codearchery
      @Codearchery  6 ปีที่แล้ว

      Thanks Mr Victor :-)

  • @trishaBaruaM
    @trishaBaruaM ปีที่แล้ว

    I never comment on TH-cam videos. But your video made me to do it. You learned that we can also learn OOP through entertainment. It's just amazing and fabulous.

  • @hulangamuwag.d3060
    @hulangamuwag.d3060 ปีที่แล้ว +1

    I understood the concept very clearly and thank you , now all I need is practice.

  • @azrafiqbal9481
    @azrafiqbal9481 4 ปีที่แล้ว

    super helpful. My teacher taught this for 3 hours and still couldn't make any sense. thanks man

  • @vijayanandv1116
    @vijayanandv1116 6 ปีที่แล้ว +17

    The lecture without voice
    Is the better choice
    It helps to concentrate 😀

  • @shwetadwivedi547
    @shwetadwivedi547 2 ปีที่แล้ว

    you make video by your heart and with 100% thanku for your efforts for us ,

  • @suyash.01
    @suyash.01 5 ปีที่แล้ว

    Mene socha tha video me awaj nhi h, Hoga bilkul sarkari...
    Par ye video to pad gya sare videos pe bhari👍👍👍👍👍

  • @heenakouser1998
    @heenakouser1998 6 ปีที่แล้ว

    Really really really really really really help fulllllllll. Tq sooooo much for making complex programs easy. Please don't stop. Always share your knowledge in this unique way.

  • @pallavichauhan2964
    @pallavichauhan2964 6 ปีที่แล้ว

    This is the best video i got on the you tube regarding programming.Thank u so much sir. I am really facing problems in C++ because m not able to attend my college lectures and from your channel i have started preparing for my examination.

  • @ayushc50
    @ayushc50 7 ปีที่แล้ว

    VERY VERY VERY good and simple way to learn programming.... Thank you a lot..... your vdos are helping a lot for my upcoming board exams .....Thank You Very Much !

  • @janakrisers1117
    @janakrisers1117 5 ปีที่แล้ว +2

    thanks a lot sir really it solved out my problem because i was struggling by last 6 months in this topics

  • @Mmustafa-v4j
    @Mmustafa-v4j 5 ปีที่แล้ว

    nothing could be more better than this. Blessings..

  • @dinothegamer740
    @dinothegamer740 5 ปีที่แล้ว +1

    You are like a aladdin jin .i m just thinking about how this concept became easy for me and you just made it true .thanks for doing such hard work for us. It's so helpful✌🏻#keepgoing

  • @terigopula
    @terigopula 6 ปีที่แล้ว

    Your efforts have won my viewership! Cheers :)

  • @akshayar5301
    @akshayar5301 3 ปีที่แล้ว +1

    crystal clear... excellent work !!!

  • @anmolbatra3254
    @anmolbatra3254 6 ปีที่แล้ว

    One of the best channel to learn programming

  • @ahmadbinwahid5592
    @ahmadbinwahid5592 4 ปีที่แล้ว

    It is a very nice way of teaching

  • @halishbahoo2343
    @halishbahoo2343 6 ปีที่แล้ว +1

    MOST USEFUL VIDEO.THANKS FOR BEST EXPLANATION.

    • @Codearchery
      @Codearchery  6 ปีที่แล้ว

      Thanks Halish
      Have you seen Codearchery.com teaser?
      th-cam.com/video/cqLdlBaohLU/w-d-xo.html
      Did you like it ?

  • @keerthana4724
    @keerthana4724 4 ปีที่แล้ว

    This video deserves more views....great work man!..kudos to Ur hard work..keep rocking

  • @ahmadbinwahid5592
    @ahmadbinwahid5592 4 ปีที่แล้ว

    What a great way of teaching

  • @shahanmohomed2061
    @shahanmohomed2061 6 ปีที่แล้ว

    Me video eka patta. This is the best thing that i have ever learnt

  • @soumeetpai7154
    @soumeetpai7154 5 ปีที่แล้ว

    I always love u r videos and I learn more from your channel rather than thought in class thanks a lot

  • @touqeeryousaf9520
    @touqeeryousaf9520 6 ปีที่แล้ว

    Really thanks..
    This is really wonderful way to explain things...

  • @khushimeena3121
    @khushimeena3121 5 ปีที่แล้ว +4

    This is cute in way he teach us with animation character 🙃

  • @kunalsoni7681
    @kunalsoni7681 4 ปีที่แล้ว

    Beautiful explanation and videos seriously amazing😊😊

  • @Priya-hr5si
    @Priya-hr5si 3 ปีที่แล้ว

    It's not confusing to much excellent 👏👌

  • @muhammadhassan3058
    @muhammadhassan3058 4 ปีที่แล้ว

    Outstanding content of video 👍 it helps much much much

  • @akankshamishra9117
    @akankshamishra9117 7 ปีที่แล้ว

    this is definitely the best video on inheritance..!😃😃😃

    • @Codearchery
      @Codearchery  7 ปีที่แล้ว

      Thank u so Much Akanksha :-)
      I am glad You Like My Video
      As You Can see I dont have lot of Subscribers
      Plz Help Me By Sharing My Channel with Your Friends and on Social Media
      Keep on Learning

  • @SameekshaGadge
    @SameekshaGadge 4 ปีที่แล้ว

    Really appreciating very nice u had not tried ur best but u have done it.
    My all doubts got clear awesome 👍👌 thank you so much for this excellent videos 😍....

  • @direwolfgaming7144
    @direwolfgaming7144 7 ปีที่แล้ว +5

    it is the best way thanks a lot.

    • @Codearchery
      @Codearchery  7 ปีที่แล้ว

      Thanks a lot Tech edu
      I hope You'll like to Help this channel by sharing it with your friends
      Keep on watching and Keep on Learning Cool stuff :-)

  • @pratikchauhan9325
    @pratikchauhan9325 6 ปีที่แล้ว

    nice video ....... it's like learn by fun

  • @EricRichman-vd3kv
    @EricRichman-vd3kv 8 หลายเดือนก่อน

    I understand this video than any other video 🙏🙏🙏🙏🙏🙏🙏🙏♥️♥️♥️♥️♥️♥️♥️♥️

  • @nitishkhanna9368
    @nitishkhanna9368 7 ปีที่แล้ว +1

    The best explanation!

  • @osafalikhan4674
    @osafalikhan4674 6 ปีที่แล้ว

    Super Simple. Thumbs Up.

  • @ashutoshjha4221
    @ashutoshjha4221 5 ปีที่แล้ว

    videos are jhakas really thankyou sir

  • @davidl.castillo7517
    @davidl.castillo7517 5 ปีที่แล้ว

    I love this channel it´ssooo... easy to learn here.

  • @ruchidargan8375
    @ruchidargan8375 5 ปีที่แล้ว

    This really helped a lot
    .... thanks for making such amazing vedios

  • @MK-nr8ol
    @MK-nr8ol 5 ปีที่แล้ว

    amazing presentation. Thanks

  • @Jhon_wick03
    @Jhon_wick03 4 ปีที่แล้ว +1

    realy first time watching an tutorial like a moive,highly engaging content great work,open an patreon

  • @kaustukrathod4763
    @kaustukrathod4763 6 ปีที่แล้ว +1

    one of the best video

  • @shafayet2756
    @shafayet2756 4 ปีที่แล้ว

    awesome love it please make more

  • @rachanadurshetti
    @rachanadurshetti ปีที่แล้ว

    Your explaining technique is very well .........I just have one requires i need explanation on use of "using namespace std "in oop

  • @soumisarkar4315
    @soumisarkar4315 7 ปีที่แล้ว +2

    Very Nice. Its help me a lot.:-)

    • @Codearchery
      @Codearchery  7 ปีที่แล้ว

      Thanks soumi
      Sorry for replying late :-)

  • @sudheermabbu8859
    @sudheermabbu8859 6 ปีที่แล้ว

    well explained...........thanks a lot

  • @muhammadahmadkhan3304
    @muhammadahmadkhan3304 ปีที่แล้ว +1

    It was made easy❤

  • @Sparsh1222
    @Sparsh1222 6 ปีที่แล้ว

    very good brother

  • @premjitofficial
    @premjitofficial 6 ปีที่แล้ว

    Very Very Good

  • @dashingdk6540
    @dashingdk6540 7 ปีที่แล้ว +1

    thankyou so much!best explanation

    • @Codearchery
      @Codearchery  7 ปีที่แล้ว

      Thank You so much DK for this Comment and appreciating my Hard Work.
      Keep on Learning :-)

  • @alexcostal3749
    @alexcostal3749 2 ปีที่แล้ว

    Amazing 😎

  • @vrushalithokal6058
    @vrushalithokal6058 5 ปีที่แล้ว

    Awesome ❣️thanks a lot

  • @Improveuh
    @Improveuh ปีที่แล้ว

    very good

  • @NikitaBansal-qz1rq
    @NikitaBansal-qz1rq 5 ปีที่แล้ว

    Great workk ...reallyy helpfulll💕

  • @sanketsharma7141
    @sanketsharma7141 6 ปีที่แล้ว

    Thanku so much yr... Superb...

  • @englishtreatment960
    @englishtreatment960 6 ปีที่แล้ว

    Thanks a lot🤩😍

  • @SS-dq6si
    @SS-dq6si 7 ปีที่แล้ว

    Great video sir but in program please add protected members in base class and explain protected and public inheritance.

  • @nikunjchhangani5940
    @nikunjchhangani5940 4 ปีที่แล้ว

    THANK YOU SO MUCH

  • @nitikamehra3310
    @nitikamehra3310 7 ปีที่แล้ว

    really helpful vedio!!!

  • @himanshunayak5343
    @himanshunayak5343 6 ปีที่แล้ว

    really appericiate your work bro. Thanks :-)

  • @kitmiki4247
    @kitmiki4247 6 ปีที่แล้ว

    Thank you for this!

  • @nirmalmk9383
    @nirmalmk9383 5 ปีที่แล้ว

    cout

  • @samiulislamdurjoy
    @samiulislamdurjoy 4 ปีที่แล้ว

    //Here I am using private/protected specifier for class inheritance.. not that derived class object cannot call base class function. But derived class function can call base class function. heres the technique.
    #include
    using namespace std;
    class A
    {
    private:
    int data;
    public:
    void getdata()
    {
    cout

  • @shantelwilliams1822
    @shantelwilliams1822 4 ปีที่แล้ว

    This is more like it 🤔🙌

  • @davidmatty8251
    @davidmatty8251 7 ปีที่แล้ว +2

    awesome

    • @Codearchery
      @Codearchery  7 ปีที่แล้ว

      Thanks David.Share this video with your friends too :-)

  • @elonmusk5689
    @elonmusk5689 7 ปีที่แล้ว +2

    thanks dude !

    • @Codearchery
      @Codearchery  7 ปีที่แล้ว

      Thanks J userf for Watching my videos
      As You can see My Subscribers are very less in spite of lot's of Good Work
      Plz help me in growing my channel
      Share My Channel on Social Media and with your Friends too :-)
      I hope you'll like to help this channel
      Keep on Watching J userf

  • @yogeshkumarmu6773
    @yogeshkumarmu6773 ปีที่แล้ว +1

    Brooooo 😭😭😭😭 where are youu

  • @amolsonawane2233
    @amolsonawane2233 2 ปีที่แล้ว

    Please add your voice explaining thing..that will be viewer friendly..

  • @rajcodes100
    @rajcodes100 7 ปีที่แล้ว +1

    Is the code available for the examples shown in these tutorials so people can just copy and play around with it ? If not it would be nice to have them.

    • @Codearchery
      @Codearchery  7 ปีที่แล้ว

      Thanks Spectrum for Watching My Video and For Suggestion :-)
      Yeah I am planning to upload My code on GitHub so everyone can access it

  • @dhruvnagpal4683
    @dhruvnagpal4683 5 ปีที่แล้ว

    Data member concept also needed

  • @abdulrafay2420
    @abdulrafay2420 3 ปีที่แล้ว

    So it means that private and protected access specifier are almost similar?

  • @vishnuvardhan_2236
    @vishnuvardhan_2236 7 ปีที่แล้ว +1

    sir ,can you explain protected acces specifier clearly .....difference beween private and protected

    • @Codearchery
      @Codearchery  7 ปีที่แล้ว

      Hi Vishnu first thanks a lot for watching my videos
      I know I didn't explain protected very clearly , because the real use and application of protected is in Inheritance
      So I suggest you to watch all my videos on Inheritance and You'll clearly understand difference between Protected and Private
      I hope you'll like to help me by sharing my videos on Facebook and help me in getting more subscribers
      As You can see I don't have much Subscribers :-)

    • @cyborgdale
      @cyborgdale 7 ปีที่แล้ว +4

      vishnu vardhan Private members cannot be accessed by objects created outside the class--only by member functions of its own class. Base class members designated as "protected" are "private" with respect to objects created outside the class but they may be accessed by derived class member functions (as well as member functions of its own class) just as if they were member functions of its own class. Classifying members as "protected" is no different than classifying them as "private" if there are no derived classes.
      If you form a derived class using the keyword "public", you change NONE of the access specifiers upon inheritance--private members of the base class will still be private in the derived class, protected members will still be protected, etc. If you inherit using the "protected" keyword, the lowest access that the inherited members could possibly be is "protected". Thus public members will be "promoted" to protected, however "private" members will NOT be "demoted"--they will remain private in the derived class as well. If you inherit using "private", then EVERY member inherited will be promoted to private in the derived class.
      None of this will change the access specifiers of the base class--only the inherited members in the derived class.
      I hope this helps.

  • @mananthi1433
    @mananthi1433 ปีที่แล้ว

    Cout

  • @dollysinha3791
    @dollysinha3791 6 ปีที่แล้ว

    Goooooooooooooood

  • @kavyapaidi818
    @kavyapaidi818 4 ปีที่แล้ว

    Videos are understandble but when comes to program video clarity is some what missing

  • @Auspicious24
    @Auspicious24 2 ปีที่แล้ว

    thank youuuuuuuu sir

  • @rasm1998
    @rasm1998 7 ปีที่แล้ว

    Suprerb

    • @Codearchery
      @Codearchery  7 ปีที่แล้ว

      Thanks Rashmi , Don't forget to Share :-)
      Keep on Learning and Keep on Watching

  • @tarikulislambhuiyan8938
    @tarikulislambhuiyan8938 7 ปีที่แล้ว

    function of B can access the function of A is it because the function of A is public??

    • @cyborgdale
      @cyborgdale 7 ปีที่แล้ว

      A B It would be also be able to access it if it were protected, but not if it were private.

    • @cyborgdale
      @cyborgdale 7 ปีที่แล้ว

      A B Functions of class B can access members of class A (including its member functions) if the member function in class A is either public or protected, but NOT if it was private. If it was private, then it could only be accessed by other class A member functions.

  • @adityachaudhary8971
    @adityachaudhary8971 3 ปีที่แล้ว

    literally i was searching for acess specifiers and i found

  • @Murali-hb9yw
    @Murali-hb9yw 2 ปีที่แล้ว

    PlZz continue to upload ur videos.... plzzzz plzzzzzzzzzzzz..

  • @BeliBoyz
    @BeliBoyz 7 ปีที่แล้ว

    Protected is not same as public dude. In public inheritance, you can access functions of class A with object of class B directly. How can you do that in protected?

    • @Codearchery
      @Codearchery  7 ปีที่แล้ว +2

      Hello Durr e Adan Sadiq
      Protected is same as Public in case of Inheritance , but with a small difference
      Suppose there is a single Inheritance between class A and class B
      When we write class B : public A
      {.......}
      This means all the private member in class A are inherited as private in class B &
      all the protected members are inherited as protected in class B &
      all the public member are inherited as public
      But when we write class B : protected A
      {........}
      This means all the private member in class A are inherited as private in class B &
      all the protected members are inherited as protected in class B &
      this is the difference -> all the public members are inherited as protected.
      So i mean to say public and protected access specifier in INHERITANCE are a bit similar , but
      the difference is protected converts public of class A to protected for class B.
      and You are right my friend we cannot access functions of class A with object of class B , but I never said that in my video. functions of class B can access the protected members of class A , objects don't have the power to access protected member.
      If I still failed to clear your doubt my friend please comment :-)

  • @RiyaMondal-nx1nu
    @RiyaMondal-nx1nu 6 ปีที่แล้ว

    please make video on singly linked list and doubly linked list insertion and deletion

    • @Codearchery
      @Codearchery  6 ปีที่แล้ว

      I have already created 2 videos on Linked List :-)
      Have you seen Codearchery.com teaser?
      th-cam.com/video/cqLdlBaohLU/w-d-xo.html
      Did you like it ?

  • @sashinautiyal6169
    @sashinautiyal6169 6 ปีที่แล้ว

    bro you kept ads on they keep popping up

  • @hoop5768
    @hoop5768 5 ปีที่แล้ว

    so cute :)

  • @informativecontent4778
    @informativecontent4778 6 ปีที่แล้ว

    there's an easier way to what u did at 6:23

  • @cyborgdale
    @cyborgdale 7 ปีที่แล้ว

    This is much more difficult to EXPLAIN than it is to UNDERSTAND. Once you get it, you will know what I mean. Once you do get it, try explaining it to someone else and see what I mean.

  • @mustafabb3620
    @mustafabb3620 2 ปีที่แล้ว

    🌹

  • @samiulislamdurjoy
    @samiulislamdurjoy 4 ปีที่แล้ว

    G 12

  • @shammafatima1736
    @shammafatima1736 6 ปีที่แล้ว

    Koi nii aiiii smj......!😣

  • @pratikmahajan4381
    @pratikmahajan4381 6 ปีที่แล้ว

    Wtf
    This video hes 4 ads
    its not understandable 😐😕

  • @xSeRgYu
    @xSeRgYu 7 ปีที่แล้ว

    Why dont you use voice , it would be much better

    • @Codearchery
      @Codearchery  7 ปีที่แล้ว +1

      Hey Hi,
      Your Username is different than other , (that's Cool) :-)
      Yeah It would be much better if I add my voice to it.
      But I wanted to make videos like a Live Book.
      I want your mind to read my videos , because when you are watching my videos your mind has to be on 100% Concentration.
      So If U need to understand what's going on my video then you need to be 100% attentive.
      Sorry for such a long and boring answer but that's the reason but it's a bit scientific.
      Try a Experiment.
      Watch any of my video and watch any video with audio.
      You'll see that you will be able to retain much more content than an video with audio.
      But thanks for such a genuine suggestion.

    • @paridhimodi2450
      @paridhimodi2450 7 ปีที่แล้ว

      thats a gud idea.
      and its really true that we can concentrate more

  • @animereviewerrr7197
    @animereviewerrr7197 5 ปีที่แล้ว

    you rocked i m shoccked its my mid time great one i also ask many friends to subscribe your chaneeel love u bro
    \\\\\\\cout

  • @sushantsingh2297
    @sushantsingh2297 6 ปีที่แล้ว

    please stop background music