Topics

Leave a Reply

15 Comments on "Java 8 Lambda Basics 21 – Method References"

Notify of
avatar

Aryan Singh
Guest
Aryan Singh
20 days 15 hours ago

Sir, please create more tutorials on lambda….

ajayyaatri
Guest
ajayyaatri
24 days 17 hours ago

Great tutorial.. Man you should do more of this.. hats off to u !!

Nitish Chauhan
Guest
Nitish Chauhan
30 days 9 hours ago
This was unclear to me at first: In the line: Thread = new Thread(MethodReferenceExample2::printMessage); The constructor being used was Thread(Runnable var1){}. Runnable is a functional interface containing a void run(void){} method structure. Since System.out.println() is a void return, void parameters method it matches the functional interface. That's why it can be passed into the Thread(Runnable var1) constructor. Similar to doing: (Interface1) (name1) (class1) (class1 method1) Runnable someprinter = MethodReferenceExample2::printMessage; which is basically: Runnable someprinter = () -> System.out.println("Hello");Thanks again for your teaching style. learning so much
Manjesh Kumar
Guest
Manjesh Kumar
1 month 8 days ago

I do really like this series very useful, so it will be grateful if you make Java 8 series also

vishank gupta
Guest
vishank gupta
1 month 13 days ago

best tutorials sir, please make same on advance lambda…thanks in advance………..

Rafal Otwinowski
Guest
Rafal Otwinowski
1 month 28 days ago

Hello Sir, thank you for your work, please prepare advance lambda

Jerome JJ
Guest
Jerome JJ
3 months 2 days ago

Hey Genius! You knock me dead just like that. Hat's off to you for your selfless initiative. Gratified abundantly as your ardent follower. Keep up the good work.

Carl Marks
Guest
Carl Marks
3 months 23 days ago

MORE! MORE! MORE! WE WANT MORE!!

jaswanth nanda
Guest
jaswanth nanda
4 months 1 day ago

best tutorials

Vivek Kumar Singh
Guest
Vivek Kumar Singh
4 months 12 days ago

Nice Tutorial- I Love watching your tutorials, they provide clear cut concepts.

wpDiscuz