Java 8 Tutorial 09 :- Consumer Functional Interface | Supplier Functional interface in java 8

Published: 01 November 2020
on channel: Tech Freak
881
16

#Java8 #Java8Tutorials

Consumer is a functional interface; it takes an argument and returns nothing.
Abstract method for Consumer:-
void accept(T t)

Supplier is a functional interface; it takes no arguments and returns a result.
Abstract method for Supplier:-
T get()

The Consumer and Supplier Interface is a part of the java.util.function package.

Related Videos:-
Lambda Expression in Detail :-
   • Java 8 Tutorial 04 :- Lambda Expression in...  

How to Write Lambda Expression in Java 8 :-
   • Java 8 Tutorial 01 :-  How to Write Lambda...  

Website: http://liferayiseasy.blogspot.in/Face...   / google   + : https://plus.google.com/u/0/collectio...   / adit2787  

About:-Welcome on Tech Freak .Here you find tutorials on various Technologies like Liferay 6.2 , Liferay 7(DXP) , JUnit ,Java 8 etc.

Please SUBSCRIBE to Tech Freak, Thanks.


On this page of the site you can watch the video online Java 8 Tutorial 09 :- Consumer Functional Interface | Supplier Functional interface in java 8 with a duration of hours minute second in good quality, which was uploaded by the user Tech Freak 01 November 2020, share the link with friends and acquaintances, this video has already been watched 881 times on youtube and it was liked by 16 viewers. Enjoy your viewing!