Java Method Reference & Stream API : Learn to Write Clean Code

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. Need of Method references in Java 3. Using existing functional interfaces to create method reference 4. What are the different types of method reference we have in java 8 5.How to use method reference with Stream API We will talk about all the types of method reference with example. Type 1 : Reference to a static method Type 2 : Reference to an instance method of a particular object Type 3 : Reference to an instance method of an arbitrary object of a particular type Type 4 : Reference to a constructor timestamp ------------------- 00:00 - Method Reference : Up Next 02:56 - What is method reference in Java ? 08:17 - Type 1 : Static Method Reference 11:51 - Type 2 : Reference to an instance method of a particular object 12:47 - Difference between Direct Method call vs Method Reference 17:52 - Type 3 : Reference to an instance method of an arbitrary object 32:16 - String::Concat and BiFunction 39:31 - String::toUpperCase 50:25 - System.out::println vs PrintStream::println 59:49- ArrayList::add 01:09:41 - Reference to a constructor 01:13:54 - Employee::New 01:15:16 - Referring to a one arg constructor 01:20:01 - Stream API & Method Reference 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 [email protected] 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