Multilevel Inheritance in Java | With Program Implementation | In Hindi

Поделиться
HTML-код
  • Опубликовано: 21 дек 2024
  • Multilevel Inheritance in Java | With Program Implementation | In Hindi | Tutorial#61
    Hi All, Welcome all of you to the video series of Java Programming. Like C and Python, I will upload all the videos of Java from Basic to Advanced.
    In this video, I have explained the Multilevel Inheritance in java. Inheritance is a way to use already written resources / codes instead of writing the code all over again.
    Link to Previous Video: • Single Inheritance in ...
    Link to next video: • Hierarchical Inheritan...
    Facebook Group: / 21673. .
    Instagram: / codeitupyt Facebook Group:
    www.facebook.c... Facebook Page:
    / codeitup-104310264625489
    Website: codeitup.in
    Join this channel to get access to perks: / @codeitup
    Tags Used:
    introduction to inheritance in java
    inheritance in java
    types of inheritance
    java inheritance
    inheritance
    multilevel inheritance in java
    program implementation
    inheritance in java hindi urdu
    inheritance in java hindi
    introduction of inheritance in java with example
    what is inheritance in java
    types of inheritance
    types of inheritance in java
    java inheritance explained
    inheritance in java with example
    java inheritance example
    inheritance example
    single inheritance
    multilevel inheritance
    hybrid inheritance
    multiple inheritance
    hierarchical inheritance
    #codeitup
    #java
    #inheritance

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

  • @akshitchandapara1194
    @akshitchandapara1194 3 года назад +1

    Sir you are the best teacher har bar me java sikhne ki kosis karta hu fir har mann jata hu baki sab k videos me boring lagta hai par aap k video me sab kuch samaj aa rha hai thank you sir , sir please make serious on machine learning , love from Gujarat ❤️

    • @retailking4244
      @retailking4244 3 года назад

      hey akshit, mai bhi java sikh raha hu so kyun na hum dono ek sath mil k sikhen?? is se apko b faida hoga or muje bhi jo chij muje na smaz aye wo ap samza dena or jo apko na aye wo mai

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

    Very well explained sir 👍
    Thankyou Sir 🙏

  • @snakhankhan2218
    @snakhankhan2218 4 месяца назад

    this explanation is amazing 😊

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

    Thanks you sir for all doubt clear about inheritance 🤗🤗🙏🙏

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

      Most welcome😊

  • @harshadraut4186
    @harshadraut4186 2 года назад +4

    Sir apke bina coding impossible hai

  • @aadityagera1900
    @aadityagera1900 4 года назад

    btw love your python tutorials sir thank u for explaining so well sir

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

      Thanks and welcome :)

  • @pallavisharma7273
    @pallavisharma7273 2 месяца назад

    Sir,
    Object for base class can't be created??

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

    Thank you 😌

  • @codebylostdaffy
    @codebylostdaffy 3 года назад

    Thank You Ji
    Good Explain

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

      Thanks & most welcome dear!

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

    Demo class main D capital hoga ya small.

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

    🎉🎉🎉🎉🎉🎉🎉

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

    sir plz Hybrid inheritance par ek bna dijiye

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

    🤞

  • @jayantkumar4818
    @jayantkumar4818 3 года назад +1

    sir can you make videos on generics and throw,catch and more,,,plz sir

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

      Yes, after multithreading, next concept is Exception Handling.

    • @jayantkumar4818
      @jayantkumar4818 3 года назад +1

      @@codeitup Thank you very much sir

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

    sir if we are providing constructors in each class then how it will work ??

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

    ❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤

  • @1981Praveer
    @1981Praveer 2 года назад

    What if we create a variable by name "a" in class B then, how can we get the A class's a data?

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

    Sir iss multi-level inheritance ki video me hum class A me addition aur class B me multiplication and class c me division ki process kar sakte hai ???

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

    Sir inheritance ke program me hmesa .. cant find main(String []) error aata hai pls explain kr dijiye… ya koy bhai log ko pta hai to pls explain to me..

  • @souravkumar8332
    @souravkumar8332 4 года назад

    sir when u will cover interfaces,abstraction,encapsulation,?

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

      Preparing the tutorial as per E Balaguruswamy's book "Java Premier". Step by step will upload all the videos very soon.

  • @deepak_rwt
    @deepak_rwt 4 месяца назад

    sir i write same code as it is but it take input a = 0 whyyyy please help me whyy 😭😭

  • @ankitaginhotry1667
    @ankitaginhotry1667 4 года назад

    Sir ek problem aya rahe hai , last vale add() funtion me compiler a and b not declare ka error de raha hai jab ke extend bhe ke hai previous class se..

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

      Paste your code here Ankit. I will make the corrections.

  • @sakshinemade3389
    @sakshinemade3389 4 года назад

    Sir please give Practicle execution... Because when writing multiple classes in one program in bluej... Sir how to save that please tell...

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

      In BlueJ you need to create class before writing the program. So, you class name will be the class in which main function exists.

    • @sakshinemade3389
      @sakshinemade3389 4 года назад

      @@codeitup Oki sir got it thax.... But waiting for ur Practicle execution of programs.

  • @aadityagera1900
    @aadityagera1900 4 года назад

    |plss read the full comment sir|
    good morning/good afternoon/good evening sir jab bhi aap mera comment read kar rahe hai my name is aaditya and i am currently studying in class 12 and mere pass computer science subject hai jisme meri language "python" hai par mai apne career ko leke bahut confuse hoo......kyonki jab bhi me college me admission loonga to mujhe ek language select karni hogi or sab mujhe ye advise kar rahe hai ki aap "java" ko sabse pehli priority dena......kyonki sab yahi ke rahe hai ki "java is the pillar of the industries" and also u said...... to sir mai kaafi confuse ho chuka hoo kyonki java mere liye ek brand new language hogi and usse mai apne board exams ke baad hi start kar paoonga to kya mai java ke liye python chood doo???? ya python continue karoo?? ya python and java ek saath seekhu??? kisme jyada scope and demand hai ??pls help me sir and sorry ki comment kaafi lamba ho gya ho to.......

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

      See Aaditya, agar aap python sikh lete ho to aapme programming logic develop ho jaegi jo baad me aapko java sikhne me madad karegi. Matlab ye ki python sikhne ke baad aap jab java sikhoge to aapko bahut aasani hogi kyoki har programming language me 30% chije same hoti hai. So, abhi aap aaram se python karo aur yahi python aapko java sikhne me aage madad karega.

  • @ParthibMandal-ub2sn
    @ParthibMandal-ub2sn 5 месяцев назад

    import java.util.*;
    class input_a {
    int a;
    public void aa() {
    Scanner sc = new Scanner(System.in);
    System.out.println("input a");
    a = sc.nextInt();
    }
    }
    class input_b extends input_a {
    int b;
    public void bb() {
    Scanner sc = new Scanner(System.in);
    System.out.println("input b");
    b = sc.nextInt();
    }
    }
    class result extends input_b {
    public void print() {
    System.out.println(a + b);
    }
    }
    public class level {
    public static void main(String[] args) {
    input_a obj1 = new result();
    input_b obj2 = new result();
    result obj = new result();
    obj1.aa();
    obj2.bb();
    obj.print();
    }
    } //mara is code ka out put 0 aa raha ha why?

    • @deepak_rwt
      @deepak_rwt 4 месяца назад

      same bro it take 0 in a but why i didn't understand

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

    ooooooooooooooooooooooho

  • @ParthibMandal-ub2sn
    @ParthibMandal-ub2sn 5 месяцев назад

    if any one can solve problem please reply

  • @ankitaginhotry1667
    @ankitaginhotry1667 4 года назад

    Help me sir !

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

      Paste your code here Ankit. I will make the corrections.

    • @ankitaginhotry1667
      @ankitaginhotry1667 4 года назад

      @@codeitup ok sir i will paste soon..

    • @ankitaginhotry1667
      @ankitaginhotry1667 4 года назад

      @@codeitup import java.util.Scanner;
      public class aaaa {
      static void a()
      {
      System.out.println("Hello!");
      }
      }
      class b extends aaaa
      {
      static void b()
      {
      System.out.println("\tMY");
      }
      }
      class c extends b
      {
      static void add()
      {
      System.out.println("\tIS ANKIT");
      }
      }
      class demo {
      public static void main(String[] args)
      {
      c.add();
      }
      }