Java Extending Interfaces

preview_player
Показать описание
Welcome to Manohar Academy.
In this lesson we learn about extending interfaces.

A interface can extend other interfaces
A interface can extend more than one interface

Example:
interface A extends B, C, D{
}

Where B,C and D are interfaces.
Note we use extends keyword not implements. We are not providing any implementation so it does make sense.
Рекомендации по теме
visit shbcf.ru