Constructor Handling in Base Class | Inheritance in C++ | C++ Programming

Поделиться
HTML-код
  • Опубликовано: 20 дек 2024

Комментарии • 35

  • @beyond_the_book1
    @beyond_the_book1 Год назад +4

    Sir , me nepal se hu aapka video video dekh k C++ me pass ho gaya ..❤ Aap ka dil se bahut bahut shukriya, dhanyavaad 🙏

  • @SirviYadav
    @SirviYadav Год назад +2

    The way u explain sir is so easy and understandable

  • @hardikpant4159
    @hardikpant4159 Год назад +7

    better teacher than harry
    sir you are the best

  • @AbhayJoshi---gamer
    @AbhayJoshi---gamer 24 дня назад

    Best teacher for c and cpp

  • @ssks5237
    @ssks5237 2 года назад +2

    Thankkk youuuu🥲🥲🥲 itni daer sai ek code pai phasa hua tha thank youu 💫🥲🫂

  • @kumarsameer7272
    @kumarsameer7272 2 года назад +2

    Thank you sir your teaching is touch my heart ❤️❤️ 😘😘😘

  • @SabaYaseen-j1z
    @SabaYaseen-j1z 6 месяцев назад

    Sir,
    thank you so much for explaining me in better way.
    😍😍😍💖💖💖💖💖

  • @uppu4122
    @uppu4122 Год назад +1

    Amazing explanation sir 👍
    Your videos helps a lot in my exams... 😊🥰

  • @sabihakamran2873
    @sabihakamran2873 2 года назад +1

    excellent work sir

  • @draconour8662
    @draconour8662 2 года назад +1

    Please jaldi start kar dijiye abhi tak kuch padha nhi hai aapka ka intazaar kar raha hoo

  • @kavitakaushik8090
    @kavitakaushik8090 2 года назад

    Sir your way of explanation is so good 🙂🙂 please complete this playlist as soon as possible 🙏

  • @geetmystical6003
    @geetmystical6003 11 месяцев назад

    Sir gzb ka padate h aap thank u

  • @kavitakaushik8090
    @kavitakaushik8090 2 года назад +3

    Lot's of respect 🙏🙂🙂🙂💓💓💓💓

    • @codeitup
      @codeitup  2 года назад +1

      Thanks Kavita!

  • @tyson-03
    @tyson-03 2 года назад

    Sir pls css sikhao pls aapke explanation bhot mast hote hai 🙏

  • @Ashishsharma_680
    @Ashishsharma_680 5 месяцев назад

    Thank you sir ❤❤

    • @codeitup
      @codeitup  5 месяцев назад

      Most welcome!

  • @nitinbhanja8932
    @nitinbhanja8932 2 года назад +1

    Great sir

  • @draconour8662
    @draconour8662 2 года назад +1

    Sir class 12 board ka kab padhyenge sir bta dijiye please 🙏🙏

  • @rishavkumar3061
    @rishavkumar3061 2 года назад +1

    Sir waiting for next video

  • @manishchaudhari1510
    @manishchaudhari1510 10 месяцев назад +2

    When Class A contains a constructor. And When we interite the class A in public mode so according to the property of inheritance constructor is also inherit.But you have told in the previous video constructor can't be inherited. How is this possible.

    • @Satyamtomar7777
      @Satyamtomar7777 5 месяцев назад

      Listen carefully, Constructors cannot be inherited in C++. However, a derived class can call a base class constructor using an initializer list. This means while constructors themselves aren't inherited, the base class's constructor can be invoked to initialize base class parts of the derived class.

  • @rishavkumar3061
    @rishavkumar3061 2 года назад +1

    🔥🔥🔥

  • @vishalsinghrajawat9572
    @vishalsinghrajawat9572 Год назад

    sir apne pass base class m agr koi argument nhi ho to fir kaise krenge or kya jo base class k constructor ki argument h vo same variable vaha le skte h kya derived class m

  • @satender1616
    @satender1616 Год назад +1

    Hello sir I have a question,
    If we inherit class A in public mode and class B in private mode and A and B has same member function then object create of derived class and call the same member function ,so why ambiguity generated, please tell me.

  • @AlishbaAteeq-BA
    @AlishbaAteeq-BA 6 месяцев назад

    Copy constructor ka b bta de

  • @harshreality175
    @harshreality175 2 года назад

    Base class ka object kyo nahi Bana sakte he ?

    • @codeitup
      @codeitup  2 года назад

      Kyoki inheritance me object hamesha derived class ka Banta hai..

  • @manas3278
    @manas3278 8 месяцев назад

    kl paper hai 10 baje

  • @rishavkumar3061
    @rishavkumar3061 2 года назад

    Let's see