Lambda Expression & Functional Interface in Java 8 | Example | Java Techie
Ғылым және технология
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
Пікірлер: 111
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.
Best video for Java 8, I had cleared my interview based on this video. Thank you so much.
@Javatechie
5 жыл бұрын
Waoo first of all congrats Rahul , glad to hear this
Basant you are a genius who is not only kind hearted but very thorough and expert in technology. Thank you Sir.
Many videos I seened but I didn't get any idea using lambda.But now I got the idea.Thanks broi
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 .
Thank you so much. I understood well after watching your wonderful video. I recommended my team and juniors also to watch your videos.
Today i cleared my lambda expression all questions that click in my mind , Thank you 🙏 Sir
best video so far i can say in java 8 realtime !
Thank you so much Basant.keep it up for us.
Thanks Basant!You are awesome with java and explanation!!
Thanks Basant. It helped me to understand easily. Nice explanation
Very well explained I appreciate the way you explained to us. I am so glad to watch this video Thank you so much
@Javatechie
4 жыл бұрын
Thank you vikrant for your word 🥰
Thanks a lot for providing such a nice content with easy and clear explanations.
Java Techie is turning me into the real techie slow by slow everyday! Thanks buddy!
@Javatechie
2 жыл бұрын
Thanks buddy 😊 . Keep learning
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
2 жыл бұрын
Thanks vikram
Thank you bro as make the complex topic as very easy way.....
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
Thanks for the good explanation and examples
Excellently explained. Thank you very much sir.
Your explanations are outstanding.Great work.
@Javatechie
4 жыл бұрын
Thank you 😊
Very good one for who learning Java 8 and Nice Explanation bro...
Good work 👍 keep it up
Thank you for the great explanation ❤
thanks for the tutorial is very well explained
You are just Excellent !
Very nice Lambda tutorial!
Great 👍
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
5 жыл бұрын
Series continuing sir
5:55 traditional approach 7:07 - 17:17 lambda expression example
Superb bro ❤️
excellent explanation...
Really nice video. As Siddartha mentioned if could provide stream and predict it will be useful. Thanks
Thank you very much. It would be great if your videos could enable autogenerated English Caption.
awesome, please prepare more detail concept video of java 8
Thank you sir!
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
2 жыл бұрын
Thanks Sumita , yes I will start DS algo series
@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
2 жыл бұрын
@@RichaBehera129 okay 👍🏻
@RichaBehera129
2 жыл бұрын
@@Javatechie thanks 💞
Super Basant :)
That's really good content u delivered... If u could provide stream, predict Java 8 features it that's good for us
@Javatechie
5 жыл бұрын
Yes will cover all
Nice... We love you
@Javatechie
5 жыл бұрын
Thanks Vikram 😍
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!??
Thank you for this learning video. Kindly share other features of java8 as well.
@Javatechie
5 жыл бұрын
Hi Surya , will upload all the features.
Really very good explanation sir. pls add a video on Stream API. I think it is very useful to us.
@Javatechie
5 жыл бұрын
Continuing the series
In real time in present secario lambda expression mostly use for sorting the data or else..any use case..Thanks for Superb Video
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 ?
Good explanation on Lambda, Could you please make videos on Stream & Date Time API if possible. Thanks @javaTechie
@Javatechie
5 жыл бұрын
Will continue it
23:23 anonymous implementation of functional interface for customised sort
18:18 traditional approach for customised sort
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
Жыл бұрын
Thank you
Sir ..why functional interfaces are restricted to one abstract method?
3:33 customised functional interface
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
3 жыл бұрын
Okay will do that
@tarunkumar143
3 жыл бұрын
@@Javatechie Thank YouSo Much Bro
Hi sir, is there any pdf with you ?pls share if you have .it will useful for us.
2:22 functional interface
Can we override Functional Interface's static methods in subclasses?
@Javatechie
3 жыл бұрын
Static method can't be override
Is Lambda expression support only single abstract method class?
@Javatechie
3 жыл бұрын
Yes before lambda you should know functional interface
Lambda expression application on both FunctionalInterface as well interface having one abstract method only?
@Javatechie
3 жыл бұрын
Yes
What is the shortcut that you keep on using to re-arrange the code after writing every line ?
@Javatechie
2 жыл бұрын
Command + option + L
@gouthamreddy_careerPath
2 жыл бұрын
@@Javatechie Ctrl + Shift + F in windows.....thank you sir
Can you please provide ppts also of Java 8..
bro please make video on RabbitMq vs Appache Kafka when to use RabbitMq
@Javatechie
5 жыл бұрын
Once I will done with java 8 series then will start
4:44 lambda expression is coded for functional interface
24:24 lambda expression for customised sort
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
2 жыл бұрын
Yes equals method override from object class
@raghuakuthota4900
2 жыл бұрын
@@Javatechie - yeah, even I felt the same - thank you for clarification
if i have to sort on the basis of pages , then how can i
@Javatechie
Жыл бұрын
Pages ? Are you talking about pagination
@shubhamkumar-gw4vb
Жыл бұрын
@@Javatechie no no , I'm talking about sorting on the basis of number of pages , because I tried and error occurred
@raw_hse
2 ай бұрын
@@shubhamkumar-gw4vb me too!
Difference between normal function and anonymous function?
@Javatechie
5 жыл бұрын
Normal function have name and prefix which we can invoke where ever you want.but annonymous function scope within the method
java VM how we can utilize in realtime bro, how it is helpful
@Javatechie
5 жыл бұрын
Please check my video already I uploaded it .
@raveendrareddy8900
5 жыл бұрын
i seen that, i think u thought to do another video on vm profile. that one is helpful bro. thank u
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
7 ай бұрын
Yes got you thanks for suggestion
@codewithRahulYnr
6 ай бұрын
For me it's a gem to get the deep understanding on functional interfaces
R u an old Student Of Sriman Sir ?
@Javatechie
4 жыл бұрын
Yes I am
@sekhar4033
2 ай бұрын
@@Javatechie great
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
Жыл бұрын
Please connect me on LinkedIn
@brijeshpatra1629
Жыл бұрын
@@Javatechie Yeah I connected please check it once you are free
But comparator has 2 methods, one is compare() and second is equals().
@Javatechie
2 жыл бұрын
Equals method is default one not abstract method
Functional interface is so bad...lets there is 1000-2000 lines of code how can you remember which method is being called
@Javatechie
4 жыл бұрын
I believe you didn't understand core concept of functional interface Please understand it , if any doubts do let me know
@venkatswebtutorials9960
2 жыл бұрын
It is very easy if u understand