Multiple Inheritance in C++ | C++ Tutorial | Mr. Kishore

Sdílet
Vložit
  • čas přidán 25. 04. 2017
  • C ++ Tutorial Videos | Mr. Kishore
    ** For Online Training Registration: goo.gl/r6kJbB ► Call: +91-8179191999
    💡 Also Watch
    C Language Tutorials: goo.gl/qDhJ2r
    Core Java FAQ's: goo.gl/qGh5mA
    Core Java Tutorials: goo.gl/NbaEge
    Java Programming Tutorials by Mr.Hari krishna:
    goo.gl/HThq6H
    Advanced Java Programming Tutorials by Mr.Nataraj:
    goo.gl/1U2Qgy
    Subscribe to our channel and hit the bell 🔔🔔🔔 icon to get video updates.
    💡 Visit Our Websites
    For Classroom Training: nareshit.in/cpp-training/
    For Online Training: nareshit.com/c-online-training/
    #JavaCollectionsFramework #Tutorials #Videos #corejava #Quiz #Clanguage
    --------------------------
    💡 About NareshIT:
    "Naresh IT is having 14+ years of experience in software training industry and the best Software Training Institute for online training, classroom training, weekend training, corporate training of Hadoop, Salesforce, AWS, DevOps, Spark, Data Science, Python, Tableau, RPA , Java, C#.NET, ASP.NET, Oracle, Testing Tools, Silver light, Linq, SQL Server, Selenium, Android, iPhone, C Language, C++, PHP and Digital Marketing in USA, Hyderabad, Chennai and Vijayawada, Bangalore India which provides online training across all the locations
    --------------------------
    💡 Our Online Training Features:
    🎈 Training with Real-Time Experts
    🎈 Industry Specific Scenario’s
    🎈 Flexible Timings
    🎈 Soft Copy of Material
    🎈 Share Videos of each and every session.
    --------------------------
    💡 Please write back to us at
    📧 us.training@nareshit.com/ 📧 online@nareshit.com or Call us at the USA: ☎+1404-232-9879 or India: ☎ +918179191999
    --------------------------
    💡 Check The Below Links
    ► For Course Reg: goo.gl/r6kJbB
    ► Subscribe to Our Channel: goo.gl/q9ozyG
    ► Circle us on G+: plus.google.com/+NareshIT
    ► Like us on Facebook: / nareshit
    ► Follow us on Twitter: / nareshitek
    ► Follow us on Linkedin: goo.gl/CRBZ5F
    ► Follow us on Instagram: goo.gl/3UXYK3

Komentáře • 53

  • @NareshIT
    @NareshIT  Před 5 lety +3

    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

    • @korramaheshwari9279
      @korramaheshwari9279 Před 3 lety

      sir in this video instead declaring protected we can call the member functions of student and marks in the memberfunction of derived class right.even that can give the solution without declaring private members as protected like in below code.
      void get()
      {
      cout

    • @korramaheshwari9279
      @korramaheshwari9279 Před 3 lety

      #include
      using namespace std;
      class A{
      int a;
      public:
      void get()
      {
      cout

  • @rajcodes100
    @rajcodes100 Před 6 lety +11

    I have gained so much from listening to you on so many topics - you go deeply and the student get the concept - great teacher - respects due to you and thank you for sharing your knowledge.If all your codes were now in a format that is easy for a student to just copy and run and test the output I don't think any other lecture series could have competed with yours.This is my humble suggestion

  • @anushasharma4352
    @anushasharma4352 Před 5 lety +2

    Best teacher for getting programming concepts. So easy to understand I wish I had a teacher like him in my college but thanks to youtube that he is available virtually anytime so anytime that I am facing problem to lern a concept I can easily get access to kishor sir.

  • @queensheba693
    @queensheba693 Před 3 lety +2

    Sir , it's really nice to hear c++ concepts through your comfort and pleasant teaching. I appreciate the example programs you have used.I have prepared many lecture notes from your videos. Thank you so much sir 🙏

  • @neelimasingh5005
    @neelimasingh5005 Před 5 lety +3

    Sir u are really wonderful ... what a great concept u have .... it helps me a lot

  • @piyam8132
    @piyam8132 Před 6 lety +1

    Very well explained,sir.

  • @rebeccalrebeccal8614
    @rebeccalrebeccal8614 Před 6 lety +1

    Sir class session of inheritance very fantabulous explanation
    Tq sir

  • @tejashreesawant9555
    @tejashreesawant9555 Před 3 lety

    Very very thank you sir 🙏🙏there is nothing teaches like you.

  • @InformativeChannel007
    @InformativeChannel007 Před 4 lety

    Thanks sir .. your leacture is very gooness for me

  • @iniyaviji2796
    @iniyaviji2796 Před rokem

    You are such a wonderful teacher sir.thank you

  • @anilchoudhary1282
    @anilchoudhary1282 Před 6 lety +1

    ur video is really very helpful 😇

  • @madhusudanmandal2200
    @madhusudanmandal2200 Před 5 lety

    Wonderful explanation

  • @madhureddyindian9715
    @madhureddyindian9715 Před 6 lety

    Thank you very much sir

  • @panicwithpinik3917
    @panicwithpinik3917 Před 6 lety

    thanks kishore sir ...

  • @sanaraja4479
    @sanaraja4479 Před 5 lety

    Great sir 👌👌

  • @Beyond707
    @Beyond707 Před 6 lety

    Excellent

  • @madhusudanmandal2200
    @madhusudanmandal2200 Před 5 lety

    God bless u

  • @shivaranjinij.m.3616
    @shivaranjinij.m.3616 Před 4 lety

    Tq u very much sir

  • @deepakgupta-xj5qn
    @deepakgupta-xj5qn Před 6 lety

    thank you sir

  • @AmitKumar-lz2lq
    @AmitKumar-lz2lq Před 4 lety

    Th❤️nku soo much sir

  • @americacaptain7140
    @americacaptain7140 Před 3 lety +1

    can we use protected class members by calling it in main using a object or is it used like we use private members?

  • @akleshkr8653
    @akleshkr8653 Před 4 lety

    thanku sir

  • @udaykumargadikar7909
    @udaykumargadikar7909 Před 3 lety +2

    Sir in this example ,as in marks class the variable m1,m2,M3 are protected ,so in derived result class they should be defined in protected area na???

    • @molyoxide8358
      @molyoxide8358 Před 3 lety +1

      no bro not required because m1,m2,m3 are made available in the result class by inheritance.
      Din't you observe the line CLASS RESULT : PUBLIC STU , PUBLIC MARKS

  • @lokesh1058
    @lokesh1058 Před rokem

    U guys r great but I should keep going and more over quality of video and presentation should be improved....
    Keep rocking NiT

  • @harsheethav.p6113
    @harsheethav.p6113 Před rokem

    sir why did u use getch() at last?

  • @damansharma6737
    @damansharma6737 Před 5 lety

    Love u ❤️😘❤️😘

  • @VinodKhanna007
    @VinodKhanna007 Před 5 lety

    Awesome sir, but I have a doubt that you didn't use the id, name members of base class to derived class.just you inherit the properties of only one base class -marks... Can you explain it sir?

    • @bharatprajapati8346
      @bharatprajapati8346 Před 5 lety

      It's also use the properties of Stu class to display the students info like name and I'd....

  • @akshitarawat1970
    @akshitarawat1970 Před 5 lety +2

    Shouldn't we use protected keyword in int id and float name ,like we did in int m1,m2,m3 ????

    • @bharatprajapati8346
      @bharatprajapati8346 Před 5 lety +1

      Yes u do but when u use it in the derived class

    • @rishabhkumar8115
      @rishabhkumar8115 Před 3 lety

      yes why not! but they are not further used in any derived class except its own. thats why.

  • @joshedits8756
    @joshedits8756 Před 3 lety +1

    if we want to access the marks class in the result class then we have to declare getmarks() and putmarks in the derived class , as marks class is private???????

    • @molyoxide8358
      @molyoxide8358 Před 3 lety

      Marks class is not private.
      I think you have to watch it again.

  • @manalisamani6729
    @manalisamani6729 Před 5 lety

    Sir i m having one ques. In programming where i have to write c++ program to implement concepts of single, multiple,multilevel and hybrid inheritance in one single program.
    I m not getting how to write this program code i m little bit confuse ; sir jab mein prog. Banne jati hu toh koi na koi inheritance implement nhi kr paati hu program mein jaise single inheritance,multiple and hybrid kiya implement toh multilevel kese kru implement ye samaj nhi aa raha. Mene you tube pr 2 aur tutorial me ye same ques. Pucha but unhone abhi tak ek reply nhi diya ab aap hi aakhri ummed ho sir plzz help me....
    Thanks🙂

    • @gourishanker7419
      @gourishanker7419 Před 4 lety +1

      Didi ,Go on Hacker Rank Or any coding site and start coding there .There you will get an idea how and where to use them.

  • @jeevanreddykommula9577

    in this lecture ,In first base class int id ,char name are in private we did not have access to call them but you called them with derived class object how sir ........

    • @sivasubrahmanyam8471
      @sivasubrahmanyam8471 Před 6 lety +1

      Sir did not called.he calls int m1,m2,m3 of marks class only in derived class.sir called in main

    • @zakimohas
      @zakimohas Před 5 lety +1

      Hi bro don't confuse the derived class sir token public stu than u can access the private class of base class look clearly

    • @akshitarawat1970
      @akshitarawat1970 Před 5 lety

      He has selected it in public mode ,means u see he wrote -class result:public stu

    • @akshitarawat1970
      @akshitarawat1970 Před 5 lety

      @@zakimohas if it is so ,thn y he made other base class keyword to protected ?

  • @candyshiva7403
    @candyshiva7403 Před 6 lety

    Sir i cant understand

  • @ajaykharat8689
    @ajaykharat8689 Před 6 lety

    #include
    using namespace std;
    class stu
    {

    int id;
    string s;
    public:

    void getstu()
    {
    coutid>>s;
    }

    };
    class mark
    {
    protected:
    int m1,m2,m3;
    public:
    void getmark()
    {
    coutm1>>m2>>m3;
    }
    };
    class result:public stu,public mark
    {
    public:
    void getres()
    {
    int total=m1+m2+m3;
    float avg=total/3;
    cout

  • @anilchinnu7110
    @anilchinnu7110 Před 6 lety +1

    Programme is not clarity

  • @user-mt5qw4vk9z
    @user-mt5qw4vk9z Před 5 lety

    #include
    using namespace std;
    class stu
    {
    int id;
    char name [30];
    public:
    void getstu()
    {
    cout

    • @ramuacharya1254
      @ramuacharya1254 Před 2 lety

      class stu()
      {
      protected:
      int id;
      .......
      }; // kishore sir have missed writting protected inside class stu()

    • @learn_something_g
      @learn_something_g Před 2 měsíci

      You have forget to write public marks while deriving class

  • @mathematicswithjoy
    @mathematicswithjoy Před 4 lety

    Excellent

  • @lalitachauhan7038
    @lalitachauhan7038 Před 5 lety

    Thank you sir

  • @saranyaganesan1791
    @saranyaganesan1791 Před měsícem

    Thank you sir