L38: Why Java doesn't support Multiple Inheritance with complete example | Java Lectures in Hindi

preview_player
Показать описание

In this video you can learn about Why Java doesn't support Multiple Inheritance with complete example in Java Programming Course. Following topics of Java Programming Course are discussed in this lecture: Why Java doesn't support Multiple Inheritance with complete example. This topic is very important for College University Semester Exams, Placement Exam Preparation, Placement Interview Preparation and Other Competitive exams like NTA NET, NIELIT, DSSSB tgt/ pgt computer science, KVS CSE, PSUs etc.

Java Tutorial in Hindi and English - Why Java doesn't support Multiple Inheritance with complete example for Students of B.Tech, B.E, MCA, BCA, B.Sc., M.Sc., Courses - As Per IP University Syllabus and Other Engineering Courses

👉 Follow us on Social media:
▶️ Links for Hindi playlists of all subjects are:

Links for GATE/UGC NET/ PGT/ TGT CS Previous Year Solved Questions:

Рекомендации по теме
Комментарии
Автор

plz call the m2() / m1() by object name i.e. obj1.m2() / obj1.m1(), not by the classname "C" unless the methods r not static

sasmitasahoo
Автор

This is multi level not multiple inheritance.

Rockyrocky
Автор

Hi Sir, I like the way you explain things, but I felt you have made a mistake in this video. Sir, you cannot call a function directly with the class name unless the class is declared static or the method is static. So in this case you have to call the function m2() or m1() using object name "obj" that has been created. Correct me if I am wrong. Thank you.

samuelmanukonda
Автор

This multiple inheritance program also give out same error of ambiguity in cpp as well . But cpp supports multiple inheritance

shubham
Автор

Very helpful videos... Would be better if u could be a bit fast... Coz I usually play at speed of 1.75

harshahari
Автор

What if write two different methods m1() and m2() in class A and B and extending in class C using multiple inheritance then it should support right??

KrishnaSingh-cizz
Автор

sir Ur way explained on paper awesome.. please prepare in English sir everyone​ will get easily access Ur account

sureshjava
Автор

What if I don't give same name to methods? In class a different method and in class b different method. So I can inherit those class as per your guidance?

atharvabhatkhalkar
Автор

But u are implementing multilevel inheritance in this example.

mayankagrawal
Автор

Is there any other reason why java not supporting multiple inheritance ....

sasmitameher
Автор

Excellent explain but very slow speed. I usually play it at x1.25 or x1. 5

ImPerfectFilms
Автор

Thanks for this video. Helps me lot. but one place you did mistake, calling a function using class name C, but i think this is done by mistake . No problem sir .. it's a normal mistake we usually do.

naincypriya
Автор

Brooo ç is the name of the class not of the object you are calling the method by using the class name not of the obj that's wrong

RajinderSingh-lxcf
Автор

you are calling the function with class name

pranjalsharma
Автор

Srsly sir...bahut supportive hai aapki ye videos...

rishupandey
Автор

aap Class k objects se method call nai krte.. aap class k name se method call krte hain.. or ye multilevel hain multiple nai..

drashtimashru
Автор

Very helpful videos... Would be better if u could be a bit fast... Coz I usually play at speed of 1.75

harshahari
join shbcf.ru