Lambda Expression & Functional Interface in Java 8 | Example | Java Techie

  Рет қаралды 111,020

Java Techie

Java Techie

5 жыл бұрын

This video explain you what exactly lambda expression and how to write it in easy way with example even we discuss about functional interface
#JavaTechie #Java8 #Lambda
GitHub:
github.com/Java-Techie-jt/java8
Blogs:
javagyanmantra.wixsite.com/we...
Facebook:
/ 919464521471923
guys if you like this video please do subscribe now and press the bell icon to not miss any update from Java Techie

Пікірлер: 110
@shamshurr
@shamshurr 4 жыл бұрын
This the best tutorial on Lambda expression.I have seen lots and lots other videos and getting more confused.Thank you so so much Sir.
@salmanbaig7746
@salmanbaig7746 3 жыл бұрын
Basant you are a genius who is not only kind hearted but very thorough and expert in technology. Thank you Sir.
@RahulThakur-jl7pm
@RahulThakur-jl7pm 5 жыл бұрын
Best video for Java 8, I had cleared my interview based on this video. Thank you so much.
@Javatechie
@Javatechie 5 жыл бұрын
Waoo first of all congrats Rahul , glad to hear this
@sujithg5873
@sujithg5873 5 жыл бұрын
Many videos I seened but I didn't get any idea using lambda.But now I got the idea.Thanks broi
@11noneee
@11noneee Ай бұрын
Today i cleared my lambda expression all questions that click in my mind , Thank you 🙏 Sir
@gowthamkumar5658
@gowthamkumar5658 3 жыл бұрын
Thank you so much. I understood well after watching your wonderful video. I recommended my team and juniors also to watch your videos.
@saurabhkailashchandrapuran8609
@saurabhkailashchandrapuran8609 3 жыл бұрын
you are blessed by god .your explanation power is so amazing.. keep it up and please make more and more video on core java 8 and higher version along with old JDK version concept .
@kumargaurav1374
@kumargaurav1374 3 жыл бұрын
Thanks Basant!You are awesome with java and explanation!!
@sambhajikale7338
@sambhajikale7338 5 жыл бұрын
Thank you so much Basant.keep it up for us.
@venkatah9847
@venkatah9847 4 жыл бұрын
Thanks Basant. It helped me to understand easily. Nice explanation
@ramkethireddy9445
@ramkethireddy9445 4 жыл бұрын
best video so far i can say in java 8 realtime !
@amitprakash2567
@amitprakash2567 2 ай бұрын
Thanks a lot for providing such a nice content with easy and clear explanations.
@RanjanSingh-qw7ex
@RanjanSingh-qw7ex 5 жыл бұрын
Thank you bro as make the complex topic as very easy way.....
@francksgenlecroyant
@francksgenlecroyant 2 жыл бұрын
Java Techie is turning me into the real techie slow by slow everyday! Thanks buddy!
@Javatechie
@Javatechie 2 жыл бұрын
Thanks buddy 😊 . Keep learning
@venkatah9847
@venkatah9847 4 жыл бұрын
Thanks for the good explanation and examples
@spradeep89
@spradeep89 3 ай бұрын
Excellently explained. Thank you very much sir.
@krishnavidala7296
@krishnavidala7296 5 жыл бұрын
Very good one for who learning Java 8 and Nice Explanation bro...
@vikrantshingne8761
@vikrantshingne8761 4 жыл бұрын
Very well explained I appreciate the way you explained to us. I am so glad to watch this video Thank you so much
@Javatechie
@Javatechie 4 жыл бұрын
Thank you vikrant for your word 🥰
@thyagtubes
@thyagtubes 3 жыл бұрын
Your explanations are outstanding.Great work.
@Javatechie
@Javatechie 3 жыл бұрын
Thank you 😊
@somnathchoudhuri
@somnathchoudhuri Жыл бұрын
Very nice Lambda tutorial!
@stevenson68478
@stevenson68478 2 жыл бұрын
This is the best explanation i've seen so far about Lambda on the internet. Good work Sir, and may god give you all the success
@Javatechie
@Javatechie 2 жыл бұрын
Thanks vikram
@aminebouita7185
@aminebouita7185 4 жыл бұрын
thanks for the tutorial is very well explained
@prisinha
@prisinha 2 жыл бұрын
4:00 Interface methods are by default abstract and public. "abstract" keyword is a non-access modifier. abstract keyword is used as prefix to classes and methods. Abstract class cannot be used to create objects and it can be accessed indirectly after being inherited from another class. Abstract method does not have a body. And it resides only in an abstract class. Also, it is possible that abstract class can have non-abstract methods as well as abstract methods. Interface attributes are by default public, static and final
@mrindian7422
@mrindian7422 7 ай бұрын
Thank you for the great explanation ❤
@vasanthasetty4002
@vasanthasetty4002 4 жыл бұрын
Good work 👍 keep it up
@Mohamed-uf5jh
@Mohamed-uf5jh 4 жыл бұрын
You are just Excellent !
@lievangeline1547
@lievangeline1547 3 жыл бұрын
Thank you very much. It would be great if your videos could enable autogenerated English Caption.
@raghuveer8654
@raghuveer8654 3 жыл бұрын
excellent explanation...
@psudhakarreddy6548
@psudhakarreddy6548 2 жыл бұрын
Great 👍
@prisinha
@prisinha 2 жыл бұрын
5:55 traditional approach 7:07 - 17:17 lambda expression example
@rajarajagopal7522
@rajarajagopal7522 5 жыл бұрын
Really nice video. As Siddartha mentioned if could provide stream and predict it will be useful. Thanks
@chetanbhandari3033
@chetanbhandari3033 4 жыл бұрын
awesome, please prepare more detail concept video of java 8
@saikumarmedishetti2361
@saikumarmedishetti2361 5 жыл бұрын
Superb bro ❤️
@taufiquealam4125
@taufiquealam4125 5 жыл бұрын
Fantastic....Boss....I have been working on java 8 from last one year but didn't use Lambda but yes used Other classes also like stream filter etc... Please make videos on Stream API using same style of explanation i.e with example. God bless you Boss.
@Javatechie
@Javatechie 5 жыл бұрын
Series continuing sir
@gautam7452
@gautam7452 5 жыл бұрын
Super Basant :)
@tomaspyth7017
@tomaspyth7017 4 жыл бұрын
Thanks a lot for your awesome video. My understanding for that was always that lambda function is actually an Object of an *anonymous Class* that is implementing the functional interface and not a anonymous function! It isn't!??
@ogabeksaidov1986
@ogabeksaidov1986 2 жыл бұрын
Thank you sir!
@tussharsurya5829
@tussharsurya5829 5 жыл бұрын
Thank you for this learning video. Kindly share other features of java8 as well.
@Javatechie
@Javatechie 5 жыл бұрын
Hi Surya , will upload all the features.
@prisinha
@prisinha 2 жыл бұрын
23:23 anonymous implementation of functional interface for customised sort
@RichaBehera129
@RichaBehera129 2 жыл бұрын
Sir first of all heartily thank u for providing and sharing ur knowledge. We really want these types of examples as these things help in real time projects. Sir can also create one vide or playlist which consist of all data structures and algos questions so that by practicing those we can clear product based companies
@Javatechie
@Javatechie 2 жыл бұрын
Thanks Sumita , yes I will start DS algo series
@RichaBehera129
@RichaBehera129 2 жыл бұрын
@@Javatechie just provide the sets of programs so that we don't need to practice from another site like leetcode n all
@Javatechie
@Javatechie 2 жыл бұрын
@@RichaBehera129 okay 👍🏻
@RichaBehera129
@RichaBehera129 2 жыл бұрын
@@Javatechie thanks 💞
@pawankumarmahajan3800
@pawankumarmahajan3800 5 жыл бұрын
In real time in present secario lambda expression mostly use for sorting the data or else..any use case..Thanks for Superb Video
@vikramravichandran9607
@vikramravichandran9607 5 жыл бұрын
Nice... We love you
@Javatechie
@Javatechie 5 жыл бұрын
Thanks Vikram 😍
@prisinha
@prisinha 2 жыл бұрын
18:18 traditional approach for customised sort
@siddarthakamble9166
@siddarthakamble9166 5 жыл бұрын
That's really good content u delivered... If u could provide stream, predict Java 8 features it that's good for us
@Javatechie
@Javatechie 5 жыл бұрын
Yes will cover all
@debaprasadsahoo3707
@debaprasadsahoo3707 5 жыл бұрын
Really very good explanation sir. pls add a video on Stream API. I think it is very useful to us.
@Javatechie
@Javatechie 5 жыл бұрын
Continuing the series
@prisinha
@prisinha 2 жыл бұрын
3:33 customised functional interface
@ArshadKhan007
@ArshadKhan007 5 жыл бұрын
Good explanation on Lambda, Could you please make videos on Stream & Date Time API if possible. Thanks @javaTechie
@Javatechie
@Javatechie 5 жыл бұрын
Will continue it
@little-by-little-one-trave1770
@little-by-little-one-trave1770 2 жыл бұрын
Great explanation but that lambda method in the end for sort will not work if getName is null ? How to handle that and keep our code small also ?
@prisinha
@prisinha 2 жыл бұрын
2:22 functional interface
@prisinha
@prisinha 2 жыл бұрын
Can you kindly put following in description of this video: - 2:22 functional interface 3:33 customised functional interface 4:00 Interface methods are by default abstract and public. "abstract" keyword is a non-access modifier. abstract keyword is used as prefix to classes and methods. Abstract class cannot be used to create objects and it can be accessed indirectly after being inherited from another class. Abstract method does not have a body. And it resides only in an abstract class. Also, it is possible that abstract class can have non-abstract methods as well as abstract methods. Interface attributes are by default public, static and final 4:44 lambda expression is coded for functional interface 5:55 traditional approach 7:07 - 17:17 lambda expression example 18:18 traditional approach for customised sort 23:23 anonymous implementation of functional interface for customised sort 24:24 lambda expression for customised sort
@nikhilgobade297
@nikhilgobade297 Жыл бұрын
Thank you
@prisinha
@prisinha 2 жыл бұрын
4:44 lambda expression is coded for functional interface
@prisinha
@prisinha 2 жыл бұрын
24:24 lambda expression for customised sort
@tarunkumar143
@tarunkumar143 3 жыл бұрын
Hi Bro ,Pease some real Time project like Ecommerce Project using Spring Boot and Hibernate So it will be Useful For all to Interviews and for practical Knowledge . Thanks for all videos.
@Javatechie
@Javatechie 3 жыл бұрын
Okay will do that
@tarunkumar143
@tarunkumar143 3 жыл бұрын
@@Javatechie Thank YouSo Much Bro
@raveendrareddy8900
@raveendrareddy8900 5 жыл бұрын
bro please make video on RabbitMq vs Appache Kafka when to use RabbitMq
@Javatechie
@Javatechie 5 жыл бұрын
Once I will done with java 8 series then will start
@varshithachodagam796
@varshithachodagam796 3 жыл бұрын
Can we override Functional Interface's static methods in subclasses?
@Javatechie
@Javatechie 3 жыл бұрын
Static method can't be override
@AbhaySingh-ds9et
@AbhaySingh-ds9et 2 жыл бұрын
Can you please provide ppts also of Java 8..
@immortalhuman7085
@immortalhuman7085 3 жыл бұрын
Lambda expression application on both FunctionalInterface as well interface having one abstract method only?
@Javatechie
@Javatechie 3 жыл бұрын
Yes
@jagadeeshbelagallu5243
@jagadeeshbelagallu5243 3 жыл бұрын
Is Lambda expression support only single abstract method class?
@Javatechie
@Javatechie 3 жыл бұрын
Yes before lambda you should know functional interface
@shilpasingla1739
@shilpasingla1739 Жыл бұрын
Sir ..why functional interfaces are restricted to one abstract method?
@gouthamreddy6994
@gouthamreddy6994 2 жыл бұрын
What is the shortcut that you keep on using to re-arrange the code after writing every line ?
@Javatechie
@Javatechie 2 жыл бұрын
Command + option + L
@gouthamreddy6994
@gouthamreddy6994 2 жыл бұрын
@@Javatechie Ctrl + Shift + F in windows.....thank you sir
@dilkibaat1039
@dilkibaat1039 5 жыл бұрын
Difference between normal function and anonymous function?
@Javatechie
@Javatechie 5 жыл бұрын
Normal function have name and prefix which we can invoke where ever you want.but annonymous function scope within the method
@raghuakuthota4900
@raghuakuthota4900 2 жыл бұрын
hi techies, I am sure, Comparator will have 2 methods - compare and equals - here, still, can we call it as Functional Interface is it?
@Javatechie
@Javatechie 2 жыл бұрын
Yes equals method override from object class
@raghuakuthota4900
@raghuakuthota4900 2 жыл бұрын
@@Javatechie - yeah, even I felt the same - thank you for clarification
@bharatmakkar9706
@bharatmakkar9706 7 ай бұрын
Just an advise. Avoid using concepts like DAO etc. as the person watching the video may not know about such design patterns if he is a newbie to the Java world. Otherwise, the video was good.
@Javatechie
@Javatechie 7 ай бұрын
Yes got you thanks for suggestion
@codewithRahulYnr
@codewithRahulYnr 6 ай бұрын
For me it's a gem to get the deep understanding on functional interfaces
@raveendrareddy8900
@raveendrareddy8900 5 жыл бұрын
java VM how we can utilize in realtime bro, how it is helpful
@Javatechie
@Javatechie 5 жыл бұрын
Please check my video already I uploaded it .
@raveendrareddy8900
@raveendrareddy8900 5 жыл бұрын
i seen that, i think u thought to do another video on vm profile. that one is helpful bro. thank u
@akashtawade9264
@akashtawade9264 2 жыл бұрын
But comparator has 2 methods, one is compare() and second is equals().
@Javatechie
@Javatechie 2 жыл бұрын
Equals method is default one not abstract method
@brijeshpatra1629
@brijeshpatra1629 Жыл бұрын
Hello bhaiya I am pursuing BCA in distance mode due to some personal issues. I am in 1st year now after completing my 12th because of some reasons i have lost my 2 years and now in 2023 i am starting my bca carrier through distance mode I do code in Java its already been 2.5 years in java I learned DSA and in development part I am doing projects using springboot and in database i use MYSQL.Bhaiya I want your advice and some help too how to get a job in top mncs after completing this degree ? please reply bhaiya I have LinkedIn account which is updated and also I have my updated resume I am doing as much as possible bhaiya but I am scared what if i donot get a job because of distance degree please give me a solution bhaiya ♥️🙏
@Javatechie
@Javatechie Жыл бұрын
Please connect me on LinkedIn
@brijeshpatra1629
@brijeshpatra1629 Жыл бұрын
@@Javatechie Yeah I connected please check it once you are free
@anshupanda2149
@anshupanda2149 4 жыл бұрын
R u an old Student Of Sriman Sir ?
@Javatechie
@Javatechie 4 жыл бұрын
Yes I am
@sekhar4033
@sekhar4033 Ай бұрын
​@@Javatechie great
@shubhamkumar-gw4vb
@shubhamkumar-gw4vb Жыл бұрын
if i have to sort on the basis of pages , then how can i
@Javatechie
@Javatechie Жыл бұрын
Pages ? Are you talking about pagination
@shubhamkumar-gw4vb
@shubhamkumar-gw4vb Жыл бұрын
@@Javatechie no no , I'm talking about sorting on the basis of number of pages , because I tried and error occurred
@eshwar13
@eshwar13 Ай бұрын
@@shubhamkumar-gw4vb me too!
@johngather4055
@johngather4055 4 жыл бұрын
Functional interface is so bad...lets there is 1000-2000 lines of code how can you remember which method is being called
@Javatechie
@Javatechie 4 жыл бұрын
I believe you didn't understand core concept of functional interface Please understand it , if any doubts do let me know
@venkatswebtutorials9960
@venkatswebtutorials9960 2 жыл бұрын
It is very easy if u understand
Java 8 Stream API | forEach & filter Method example | Java Techie
21:56
Children deceived dad #comedy
00:19
yuzvikii_family
Рет қаралды 7 МЛН
Haha😂 Power💪 #trending #funny #viral #shorts
00:18
Reaction Station TV
Рет қаралды 15 МЛН
small vs big hoop #tiktok
00:12
Анастасия Тарасова
Рет қаралды 25 МЛН
Functional Interface | Lambda Expression in Java
13:56
Telusko
Рет қаралды 137 М.
Lambda Expressions in Java - Full Simple Tutorial
13:05
Coding with John
Рет қаралды 710 М.
Java 8 complete tutorial in 3 hour with Realtime Example | JavaTechie
2:59:29
Java 8 Streams | map () & flatMap() Example | JavaTechie
15:37
Java Techie
Рет қаралды 207 М.
Игровой Комп с Авито за 4500р
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,6 МЛН
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 7 МЛН
Cadiz smart lock official account unlocks the aesthetics of returning home
0:30