Java 8 Static Method

Publié le: 04 août 2022
sur la chaîne: TechFest Java
5
0

In this video we are discussing about java 8 interface static method.

In java 8, there is an static method introduced, so from java 8 in interface we can define static method.

Main benefit of defining static method in interface is as it provides high degree of cohesion.

high degree of cohesion means to call static method of interface we don't need any object or any class reference. we can just call static method by using interface name in which it is defined.

static method in interface can called from another static method or default method in interface.

It is very useful java 8 feature.

To read other Java 8 features , refer below video links:
Default Method in interface:
   • Java 8 feature default method  

DateTime API:
   • Java 8 Feature  Date Time Api  

Method Reference:
   • Java 8 Feature  Method Reference  

Base 64:
   • Java8 Feature Base64  


Sur cette page du site, vous pouvez voir la vidéo en ligne Java 8 Static Method durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur TechFest Java 04 août 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 5 fois et il a aimé 0 téléspectateurs. Bon visionnage!