Multilevel Inheritance in Java | With Program Implementation | In Hindi

preview_player
Показать описание
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.

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
Рекомендации по теме
Комментарии
Автор

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 ❤️

akshitchandapara
Автор

Very well explained sir 👍
Thankyou Sir 🙏

ankitashukla
Автор

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

newstuff
Автор

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

aadityagera
Автор

Sir,


Object for base class can't be created??

pallavisharma
Автор

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

deepak_rwt
Автор

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

deepakkumbhar
Автор

Demo class main D capital hoga ya small.

AadwAeoso
Автор

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

Praveer
Автор

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..

Gau_nayan
Автор

sir plz Hybrid inheritance par ek bna dijiye

worldwon
Автор

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

jayantkumar
Автор

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 ???

ashishmakawana
Автор

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

souravkumar
Автор

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..

ankitaginhotry
Автор

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

sakshinemade
Автор

|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 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 sab yahi ke rahe hai ki "java is the pillar of the industries" and also u 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

aadityagera
Автор

if any one can solve problem please reply

ParthibMandal-ubsn
Автор

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?

ParthibMandal-ubsn