Java - Default Methods in Interfaces

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

Java - Default Methods in Interfaces - In this Java tutorial, I will talk about how Java 8 supports default methods within an interface. A Java interface does not allow for an implemented method inside of it. Now with Java 8 we can use the keyword default to add implemented method. This is very useful.
Рекомендации по теме
Комментарии
Автор

best one about default method I have watched so far

chengqingxu
Автор

short and clear, nice!
does this mean java now has a way around the lack of multiple inheritance???

bisratiskool
Автор

So Java may be offering a less complex multiple_inheritance-like feature than the one that's been available in C++ all this time, nice! ^_^

mbl
Автор

Hello, I am watching this video exactly two years after it was uploaded.

KarlofDuty_