8.21 Interface in Java Tutorial with Example

preview_player
Показать описание
Multiple inheritance is not allowed in java and a class can only extend one parent
class. Interfaces provide a form of multiple inheritance. Interfaces are not classes,
however an interface can extend more than one parent interface.
Interfaces provide a form of multiple inheritance. A class can extend only one other class.
Interfaces are limited to public methods and constants with no implementation.

Check out our courses:

Coupon: TELUSKO10 (10% Discount)

Coupon: TELUSKO10 (10% Discount)

Coupon: TELUSKO20 (20% Discount)

Udemy Courses:

For More Queries WhatsApp or Call on : +919008963671

Subscribe to our other channel:
Telusko Hindi :

Subscribe to the channel and learn Programming in easy way.

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

I was understanding this concept through some of the articles but I just could by heart it really couldn’t understand. When I saw this I got the concept in the first 4 minutes itself. U r the best java teacher ever. Thanks a bunch

jyothikrishna
Автор

I learned something I had not understood before! This was a good use of my time, thank you very much!

RemiStardust
Автор

3:57 it's not xyz it's Pqr
Am I right ?

kspavankrishna
Автор

Implementation of functional interface nice explained, thank you very much sir, just stand out of box

nadipallisaikrishna
Автор

bhot heavy jaa raha h sir ab to after 90 video

gauravmandwariya
Автор

The way you explain the concept is so amazing.
I love it.

teamehailu
Автор

I was finding this from long time, finally got that from you, very very thanks....

krishnasalampuriya
Автор

does the annonymous class you have created implements Abc? you missed to explain that...

cyber_dbs
Автор

As you said in your earlier video on interface that we cannot create an object of interface so out here while using anonymous inner class why are you creating on object of the interface Abc?

sapnavats
Автор

You cannot create object for Abc right because it's interface but how you create?

rareangel
Автор

Your videos are just outstanding....we get to know new concepts in very less time as compared to other videos

mayureshwarkhurud
Автор

Everyone? hv i heard everyone?? where's alien?

ADChannel
Автор

Kal interview hai 😂😂 Bing watching your lectures 😂😂😂

Er_IT_prashantjha
Автор

SO lamda expression ()-> is using for interface that have only ONE abstract method. to implement method the class who impl interface, we can using static method. CMIIW

genprimabiocakti
Автор

i like the way you explain these examples, it is very creative..

TheFlyguy
Автор

lec(8.21) - interface example
the method show() should be public in the class 'abcimpl' at the time of defining the method.
why it is so? please explain

souparnamukhopadhyay
Автор

Great explanation. Thank you so much! You're an outstanding tutor. Well structured video, concise and informative, as usual.

ProfesorBruno
Автор

Sir why we have to make void show 'public' in AbcImpl class ?

xtempo
Автор

Ok I understand nie how IT od create, but still don't know why ( what for)? What od the purpouse od interfaces

jeffszurgot
Автор

sir can we run this in the notepad also !?

Chirag_vaghela