Method Reference In Java 8 - How it really works ?

Publicado em: 26 Julho 2024
no canal de: Selenium Express
14,536
491

In this video, We will learn about the method reference in java 8 and how it really works.

Method references are introduced first in Java 8 and they can substitute a Single line lambda where within a lambda we just call a method.

Method reference in java are very readable helps to write clean code.

In this video We will learn the following :
1. what are Method references in Java ?
2. Difference Between Anonymous inner class, Lambda expressions and method references
3. Need of Method references in Java
4. How can we use method reference in Real time
5. We will be pretty much talking about using static method reference in this video.
6. Method reference can also be used for instance method and constructor and we will be talking about it in our next video.

timestamp
-------------------
00:00 - What is method reference in Java ?
08:39 - static method reference in java 8
24:07 - When should we use method reference over lambda ?
31:16 - method reference : return type confusion
49:15 - refer to sort() Using Consumer
52:49 - refer to sum() using BiFunction
58:16 - refer to equals() using BiPredicate
01:02:07 - A tricky usecase using Function and Consumer
01:08:38 - System.out::println
01:12:28 - The Climax Mystery - String :: upperCase ?

For more free/paid courses visit
https://www.seleniumexpress.com

LINKS AND FREE LEARNING RESOURCES
========
Watch my new mock interview series for java developers
   • Java interview questions and answers for e...  

Watch my new Hello spring boot series
   • Spring Vs Spring Boot - Why Spring Boot ? ...  

Watch Spring boot Hot topics
   • @Reposicotry Vs @Service | Spring Boot | s...  

spring core
   • Spring framework tutorial for beginners wi...  

spring mvc
   • Spring MVC course introduction || Understa...  

spring mvc intermediate
   • [INTERMEDIATE] Spring MVC Course Preview |...  

Spring JDBC
   • Spring JDBC Course Preview || Let’s talk d...  

spring live project
   • #1 Build and Deploy A Spring Project Step ...  

SPRING SECURITY COURSE[NEW]
   • Spring Security Course Preview | Learn to ...  

For more courses visit
https://www.seleniumexpress.com

Any time you are getting stuck with issues, Feel free to ask for support.
You can send mail to seleniumexpress@gmail.com

you can ping me on my Facebook page
  / seleniumexpress  

Make sure to join my private Facebook page (Ask me here)
“SeleniumExpress - Support"
  / 187000222361579  

you can ask for support in my website forum
https://www.seleniumexpress.com

Follow me on Insta
  / selenium_express  


Nesta página do site você pode assistir ao vídeo on-line Method Reference In Java 8 - How it really works ? duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Selenium Express 26 Julho 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 14,536 vezes e gostou 491 espectadores. Boa visualização!