Java Tutorial 73 - Interfaces 1/3 Interface Inheritance

Publié le: 27 avril 2020
sur la chaîne: 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
}


Sur cette page du site, vous pouvez voir la vidéo en ligne Java Tutorial 73 - Interfaces 1/3 Interface Inheritance durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Ken 27 avril 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 91 fois et il a aimé 1 téléspectateurs. Bon visionnage!