C++ Inheritance & it's types | Learn Coding

Поделиться
HTML-код
  • Опубликовано: 4 ноя 2024
  • C++ full course 👇
    • C++ Full Course (Hindi...
    ------------------------------------------------
    Like | Share | SUBSCRIBE
    ------------------------------------------------
    C++ Inheritance Types 👇
    • C++ Inheritance
    c++ programs using classes 👇
    • Playlist
    Don't forget to tag our Channel...!
    #oop
    #cppprogramming
    #LearnCoding
    #classandobject
    #encapsulation
    #inheritance
    #polymorphism
    #abstraction
    Content:-
    --‐---‐-------------
    Voice 🔊:- Akhilesh
    Writer ✍️:- Ankush
    -------------------------------------
    Thank You 😊
    -------------------------------------

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

  • @sunilroy01
    @sunilroy01 Год назад +101

    2rs pen giving lot of gyai 😊😊

  • @ManveVajrawat
    @ManveVajrawat 5 месяцев назад +13

    In C++, inheritance is a feature that allows a class to inherit properties and behavior from another class. This means that a new class can be created based on an existing class, inheriting its attributes and methods. For example, you could have a base class called "Vehicle" with properties like "speed" and "color," and then create a derived class called "Car" that inherits from "Vehicle" and adds its own properties like "brand" and "model." This allows for code reuse and promotes a hierarchical structure in your program.

    • @BlazeOp-oe6vr
      @BlazeOp-oe6vr 5 месяцев назад +4

      chatgpt se copy paste kiya hai 🤣🤣

    • @irfansafdar2793
      @irfansafdar2793 Месяц назад

      ​@@BlazeOp-oe6vr Bro isay Kya ho gya phr achi baat hai AP bhi use kr lo chatgpt

  • @gani_yt
    @gani_yt Год назад +32

    Ur videos r very helpful for my last moment preparation
    Tq bhai❤

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

      😊😅😅😅😊😊😅😅😅😊😅😅😅😅😅😅😅😅😅😅😅😅😅😅😅😅😅😅😅😅😅😅😅😅😅😊😅😊😅😅😅😅😅😅😅

  • @Achegaonkar777
    @Achegaonkar777 Год назад +23

    Your teaching is like a friend helping you in study on the last night of exam

  • @deep._10_
    @deep._10_ 10 месяцев назад +21

    You are teaching better than my college 😁💯

  • @Comon-l9b
    @Comon-l9b 8 месяцев назад +1

    "Brevity is the soul of wit" Well Explained 🖤❤🖤

  • @RashidKhan-rk
    @RashidKhan-rk 9 месяцев назад +3

    Your videos are very helpfull ❤ thanks 👍 you brother

  • @ANKITSINGHCRICO-by8nn
    @ANKITSINGHCRICO-by8nn Год назад +5

    Thank you so much sir 🙏

  • @abhishek.07kumar
    @abhishek.07kumar Год назад +7

    Bhaiya mujhe c++ basic Se suru krni h Mai aapki kon kon si video dekhu plzz reply

  • @jaishukla2962
    @jaishukla2962 8 месяцев назад +1

    Good teacher ❤

  • @Funduniyatv
    @Funduniyatv 11 месяцев назад +1

    Sir ap bht acha prhaty hyn MashaALLAH but sir thoda def wgera ziada explain kia kryn

  • @FaizanKhan-rr5gk
    @FaizanKhan-rr5gk 6 месяцев назад +2

    no word ti say thank you sir 😇😇😇

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

    NIce explanation with great example

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

    Good method understand 👍😊😊

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

    How are you defining data members value without using constructor 🤔

  • @satyamsaxena7569
    @satyamsaxena7569 10 месяцев назад +1

    Thankyou sir 🙏❤️

  • @SwatiSingh-nd5ny
    @SwatiSingh-nd5ny 22 дня назад +2

    Sir apka name Ravi kushwaha h kya

  • @4kvideo_0123
    @4kvideo_0123 Год назад +2

    Sir kotlin programming ve sikhwo
    I waiting for

  • @kaiwartclasses
    @kaiwartclasses 10 месяцев назад +1

    nice

  • @224_harsh2
    @224_harsh2 Год назад +1

    love you sir nice explanation
    :)

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

    Sir please oops in c++ ke or bhi videos upload kare🙏🏼

  • @unique8052
    @unique8052 7 месяцев назад +2

    bhai maan gaye apko la javab

  • @PraveenKumar-zh6xq
    @PraveenKumar-zh6xq Год назад +2

    Thank you sir

  • @abhiyadav3924
    @abhiyadav3924 11 месяцев назад +2

    Bhaiya aap Bihar se ho ka

  • @anujrathore2050
    @anujrathore2050 7 месяцев назад

    Sir ye base class kya hai or class derived btaiye sir

  • @adityass9991
    @adityass9991 7 месяцев назад +2

    00:02 Inheritance allows a class to inherit properties and behavior from another class.
    00:59 Inheritance allows transferring properties and behaviors from the base class to the derived class, saving time and lines of code.
    01:44 Inheritance allows transferring property from one class to another
    02:37 Creating spring type member with protected surname for inheritance.
    03:50 Inheritance mechanism allows for inheriting surnames
    04:47 Member functions need to be declared public to access them through objects
    05:48 Understanding inheritance in C++
    06:36 In C++, inheritance transfers properties from one class to another.

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

    Sir how to get job in it sector BCS I hv 8 yrs gap after btech completion bcz i prepared for govt job now I intrested in it sector is it possible to get job in it sector

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

    Thank you very much sir ❤

  • @sangamsharma7832
    @sangamsharma7832 9 месяцев назад

    sir please Boolean function me bhi video please bnaye

  • @saksham8762
    @saksham8762 9 месяцев назад +1

    I am in class 12
    Can I watch your videos for class12 syllabus
    Please answer
    exams are in 1 month

  • @sanjogwho
    @sanjogwho 6 месяцев назад +1

    my compiler Turbo C is not compiling and throws errors.

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

    What is ":"sign called and is this is similar to scope resulation operator

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

      : it's called colon and :: it's scope resolution operator.
      Both are different in use. 🙂

  • @Gokul47319
    @Gokul47319 5 месяцев назад +1

    Example thoda or easy ho skta tha jaise aapne pichle baar ke videos mai diya tha

  • @Deva-zr9ys
    @Deva-zr9ys Год назад +3

    Upload pdf notes for all videos because of language issue we request to upload pdf for all video...🙏

  • @SwatiSingh-nd5ny
    @SwatiSingh-nd5ny 18 дней назад

    Bataiye na sir plz apka nam mujhe apki awaz se lga ki ap mere st Anne's intermediate ke teacher k computer practical ke

  • @SaadAwan-r2b
    @SaadAwan-r2b Год назад +1

    Please Ms office py bhi detail Sy vedio bnaye

  • @Asadaqeel-du2tl
    @Asadaqeel-du2tl 7 месяцев назад

    why you use protected template in father class plz tell....???

  • @anjalikushwaha1827
    @anjalikushwaha1827 3 месяца назад

    good good good good.........

  • @SyedaTayyaba-z7q
    @SyedaTayyaba-z7q 7 месяцев назад

    Sir plz ap opps in C++ ky sary lecture akhty share kr dain

  • @ANKITSINGHCRICO-by8nn
    @ANKITSINGHCRICO-by8nn Год назад +4

  • @ThabisoPrince-c1y
    @ThabisoPrince-c1y Год назад +2

    This would have been a great video if you taught it in english.

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

    Quality increase kar do agar aap to maja hi aa jayega sir

  • @Amenali99
    @Amenali99 Год назад +6

    Hello, is it possible to activate translation?
    😢😢😢😢😢😢 To English language please

  • @hariomnagar5.0
    @hariomnagar5.0 2 месяца назад

    👍

  • @GautamKushwaha-e8l
    @GautamKushwaha-e8l Месяц назад

    Kushwaha❤❤

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

    Thanks for help ❤

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

    Sir ink kaha gyi

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

    #include
    using namespace std;
    int* add_ten(int* data) {
    for (int i = 0; i < 5; ++i) {
    *(data + i) = *(data + i) + 10;
    }
    return data;
    }
    int main() {
    int data[5] = {1, 2, 3, 4, 5};
    int *result;
    result = add_ten(data);
    for (int i = 0; i < 5; ++i) {
    cout

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

    Sir ap kha se hai

  • @udaywagh7167
    @udaywagh7167 6 месяцев назад +1

    Oh Akhilesh and ankush are your son's 😅

  • @MaheshRajput-sn3nd
    @MaheshRajput-sn3nd 11 месяцев назад +1

    Sir aap Rajput ho kya?

  • @someone_on_earth1008
    @someone_on_earth1008 9 месяцев назад +1

    Who is this akhilesh and ankush

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

    Sir why this code is not working on Turbo C++

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

    22 feb

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

    hamare wo 5 me milta hai 🥲

  • @47RONICKKJ
    @47RONICKKJ 7 месяцев назад

    mayirandi mayirandi eng la podu da

  • @_hiten.
    @_hiten. 6 месяцев назад

    P