In this tutorial, I will continue discuss Interfaces from Java Tutorial 59 - Class Relationships 6-6 Interfaces. Interfaces models a weak is-an-extension-of relationship between two classes. It is known as interface inheritance. An interface is used for defining/specifying common behavior for classes. For example, an interface specifies the objects that are comparable and/or cloneable using appropriate interfaces.
public interface InterfaceName {
// constant declarations if any // public, static and final.
// abstract method signatures
}
En esta página del sitio puede ver el video en línea Java Tutorial 73 - Interfaces 1/3 Interface Inheritance de Duración hora minuto segunda en buena calidad , que subió el usuario Ken 27 abril 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 91 veces y le gustó 1 a los espectadores. Disfruta viendo!