Java Tutorial 73 - Interfaces 1/3 Interface Inheritance

Veröffentlicht am: 27 April 2020
auf dem Kanal: Ken
91
1

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
}


Auf dieser Seite können Sie das Online-Video Java Tutorial 73 - Interfaces 1/3 Interface Inheritance mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Ken 27 April 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 91 Mal angesehen und es wurde von 1 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!