Тёмный

Method Reference in Java 8 ♨️ | Explained With Examples | Interview QA | JavaTechie 

Java Techie
Подписаться 171 тыс.
Просмотров 31 тыс.
50% 1

In this tutorial, we will see what are Method references and how can we use it with Detailed Explanation
#JavaTechie #java8
java 8 complete class : • Java 8 complete tutori...
Spring boot microservice Live course Just started (Recordings available)
Hurry-up & Register today itself!
COURSE LINK : javatechie5246.ongraphy.com/
PROMO CODE : Java40
GitHub:
github.com/Java-Techie-jt/spr...
Blogs:
/ javatechie
Facebook:
/ javatechie
guys if you like this video please do subscribe now and press the bell icon to not miss any update from Java Techie
Disclaimer/Policy:
--------------------------------
Note : All uploaded content in this channel is mine and its not copied from any community ,
you are free to use source code from above mentioned GitHub account

Наука

Опубликовано:

 

25 дек 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 71   
@PJ-oz2pg
@PJ-oz2pg Год назад
Brilliant. Nobody explains like you. Thanks
@health.upgradedbyscience.7309
So helpful, thanx a lot!! I was struggling on method reference for some days before i came across this excellent video - released just in time! 👍😁
@gaddamsushama5673
@gaddamsushama5673 Год назад
Thanks a lot!!!! Concept was explained in very interesting and detailed way.
@kapilausarmal6300
@kapilausarmal6300 Год назад
Awesome Explanation with example....! 😊👌👍
@kishordige9721
@kishordige9721 Год назад
Thanks for the simple explanation!
@nguyenquan4836
@nguyenquan4836 Год назад
You have skill teaching.
@ramsp35
@ramsp35 2 месяца назад
Very Good. You explained a long theory just over 30 minutes in simple terms. Thanks for the video.
@mahendrabisht9253
@mahendrabisht9253 Год назад
Thanks a lot for helping here
@shubhamh8771
@shubhamh8771 9 месяцев назад
Thankyou for Explanation.
@suprajakannaiyan1301
@suprajakannaiyan1301 Год назад
Your tutorials are just awesome...
@SHAHIDKUMAR-kd7vu
@SHAHIDKUMAR-kd7vu Год назад
really its great video
@ramakrishna-lz3ep
@ramakrishna-lz3ep Год назад
Super expiation
@harshitanand8216
@harshitanand8216 Год назад
Your videos are great as always. ❤️
@surendrareddyseelam9757
@surendrareddyseelam9757 Год назад
we want it you got it, Godly content!!
@JackSon-lj3on
@JackSon-lj3on Год назад
Good explanation..
@krishnamohan5771
@krishnamohan5771 7 месяцев назад
Excellent job 🎉
@BeOnlyOne1
@BeOnlyOne1 8 месяцев назад
You are really Great and AWESOME….😊
@aayush5474
@aayush5474 Год назад
Nicely explained!
@abhishekgowlikar
@abhishekgowlikar 11 месяцев назад
Excellent boss, Kudos
@konanpower6451
@konanpower6451 Год назад
Hello from finland. Hei suomesta ja kiitos😍
@leecha9512
@leecha9512 Год назад
Gurudevobhava 🙏 Excellent explanation!! And specially Employee::getName 🙏 God bless you 🙏
@Javatechie
@Javatechie Год назад
My pleasure buddy that i am able to explain in proper way
@leecha9512
@leecha9512 Год назад
@@Javatechie you explain so good because you very good knowledge and skills to explain!!! God bless you 🙌
@user-lw1dd4md5o
@user-lw1dd4md5o Месяц назад
Great explanation
@mdsaquibansari4123
@mdsaquibansari4123 10 месяцев назад
Thanks
@Aniruddhdwivedi
@Aniruddhdwivedi Год назад
Hi Basant, eagerly waiting for the video series of Java 17 from you ... thanks in advance
@Javatechie
@Javatechie Год назад
Okay i will upload it
@Sundharamurali
@Sundharamurali Год назад
Hi Brother, Thanks for this series, Could you please make a video on Java 8 grouping by. Thanks in advance!!
@Javatechie
@Javatechie Год назад
Okay
@hariprasad2697
@hariprasad2697 Год назад
Superb 🌻...also please do a video DTO's in springboot in my project we've using DTO's I am unable to get the use and purpose of implementing DTO's 😭 please do a small video if possible 🧡
@Javatechie
@Javatechie Год назад
Okay 👍
@mohanrathod5291
@mohanrathod5291 Год назад
It Awesome!. Can you make one video for MapStruct
@Javatechie
@Javatechie Год назад
Okay sure
@sandeepjoshi4178
@sandeepjoshi4178 9 месяцев назад
Bhaiya mzza aagya, are println static nahi hei😂😂😂😂
@Javatechie
@Javatechie 8 месяцев назад
🤪 static to hai println
@sureshmanne7245
@sureshmanne7245 Год назад
In the last minute you are printing the ids from ArrayList but they are empty, why? What to do to show ids?
@abhilashpatel6852
@abhilashpatel6852 Год назад
interview question @29:43
@LoveToLearnanilappana
@LoveToLearnanilappana 4 месяца назад
out::println is instance method reference right correct me if im wrong
@gowtham4383
@gowtham4383 Год назад
Hi bro, Thank you for the video on method reference. Kindly help me to understand Reference to an instance method of an arbitrary object of a particular type with below example. Example: String [] array = {"Code","Java","C++"}; Arrays.sort ( array, String:: compareToIgnoreCase); In this example ,String Class compareToIgnoreCase method having arguments then How ClassName:: instance method working here. Kindly help with this
@aurelienfredytakoutene7114
@aurelienfredytakoutene7114 Год назад
@javatechie why didn't you answer this question please? I also found it pertinent.
@Javatechie
@Javatechie Год назад
If it takes a single argument of the type which you are getting from the stream then it will work
@krishnamohan5771
@krishnamohan5771 7 месяцев назад
I think it is taking String as object literal
@sm8817
@sm8817 2 месяца назад
Sir can we get the code which u are using to explain ?
@krishnamohan5771
@krishnamohan5771 7 месяцев назад
is foreach accepts consumer only right? but you are calling static method ref
@ElonMusk-wo7zf
@ElonMusk-wo7zf Год назад
What if Instance method has arguments, can we use it with class reference?
@Javatechie
@Javatechie Год назад
Yes we can like String::toUpperCase
@ElonMusk-wo7zf
@ElonMusk-wo7zf Год назад
@@Javatechie Please give an example for Method reference where the method takes multiple arguments.
@kunwarrajneeshsingh3132
@kunwarrajneeshsingh3132 Год назад
Nice explanation 👍🏻😊
@javatamilan
@javatamilan 2 месяца назад
.min((Integer::compareTo)); but in this example compareto contains method parameter even though how can I access directly without creating object could you explain it
@Javatechie
@Javatechie 2 месяца назад
Not getting your question? Where did we create an object?
@javatamilan
@javatamilan 2 месяца назад
@@Javatechie Optional maximumNumber = numbers         .stream()         .filter(Objects::nonNull)// It filter non null elements         .max((Integer::compareTo)); // returns maximum number and through exception if the element is null it filters non-null elements          Optional minNumber = numbers         .stream()         .filter(Objects::nonNull)// It filter non null elements         .min((Integer::compare)); Compare is a static method we can Directly access by using class name but compareTo method is a non static method but how can we accessed by using class name but it contains also the method parameter you said that we can't able to access that method by using class name by method reference if the method contains method parameter
@jrdillip
@jrdillip 10 месяцев назад
Hello Sir how this is working Employee::getName , as we know we can't call a non static method using the above syntax. It's bit confusing. Can anyone help me to understand this concept
@Javatechie
@Javatechie 10 месяцев назад
Please check the video again. I have explained the same question over there
@jrdillip
@jrdillip 10 месяцев назад
@@Javatechie Ok Sir Thank you so much for providing the good content. Really because of your videos only I am able to start with Spring Boot.
@Javatechie
@Javatechie 10 месяцев назад
Good to hear this 😃. Keep learning
@harshitsachdeva4836
@harshitsachdeva4836 Год назад
What are VO and DTO classes
@Javatechie
@Javatechie Год назад
Value object and data transfer object. Both are the same who hold request attribute
@sujitkumar2196
@sujitkumar2196 5 месяцев назад
Awesome bro, but the source link you posted is not a correct one. can you please share the source code with us?
@Javatechie
@Javatechie 5 месяцев назад
Let me check and update
@AbhishekGupta-fi2wp
@AbhishekGupta-fi2wp Год назад
Is kafka videos are coming for begineers?
@Javatechie
@Javatechie Год назад
Yes will start from very basic level
@AbhishekGupta-fi2wp
@AbhishekGupta-fi2wp Год назад
@@Javatechie when can i expect please i really want to learn
@Javatechie
@Javatechie Год назад
@@AbhishekGupta-fi2wp next week onwards i will upload
@preetisharma7602
@preetisharma7602 Год назад
Sir there is and arbitorary method refrence . I have seen many place . Please cover that. I realy do not underatand it
@Javatechie
@Javatechie Год назад
Okay but that is kind of predefined method for example String::toUpperCase
@bindu6790
@bindu6790 8 месяцев назад
Little bit confusing
@Javatechie
@Javatechie 8 месяцев назад
What's your confusion
@naoryehuda6830
@naoryehuda6830 Месяц назад
Your native accent is very bad,
Далее
Method Reference in Java 8
21:06
Просмотров 178 тыс.
ПОЮ ЛЕТНИЕ ПЕСНИ🌞
3:16:55
Просмотров 1,7 млн
What turned out better to repeat? #tiktok
00:16
Просмотров 1,8 млн
How to use Method References - Java 8 Tutorial
10:17
Functional Interface | Lambda Expression in Java
13:56
Просмотров 138 тыс.
Java 8 - Method References
10:57
Просмотров 5 тыс.
Lambda Expressions in Java 8 - Full Tutorial
26:32
Просмотров 34 тыс.
S-Pen в Samsung достоин Золота #Shorts
0:38