Java 8 Static Method

Published: 04 August 2022
on channel: 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  


On this page of the site you can watch the video online Java 8 Static Method with a duration of hours minute second in good quality, which was uploaded by the user TechFest Java 04 August 2022, share the link with friends and acquaintances, this video has already been watched 5 times on youtube and it was liked by 0 viewers. Enjoy your viewing!