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

  • @shamshurr
    @shamshurr4 жыл бұрын

    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.

  • @RahulThakur-jl7pm
    @RahulThakur-jl7pm5 жыл бұрын

    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

  • @salmanbaig7746
    @salmanbaig77463 жыл бұрын

    Basant you are a genius who is not only kind hearted but very thorough and expert in technology. Thank you Sir.

  • @sujithg5873
    @sujithg58735 жыл бұрын

    Many videos I seened but I didn't get any idea using lambda.But now I got the idea.Thanks broi

  • @saurabhkailashchandrapuran8609
    @saurabhkailashchandrapuran86093 жыл бұрын

    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 .

  • @gowthamkumar5658
    @gowthamkumar56583 жыл бұрын

    Thank you so much. I understood well after watching your wonderful video. I recommended my team and juniors also to watch your videos.

  • @noonecares-786
    @noonecares-786Ай бұрын

    Today i cleared my lambda expression all questions that click in my mind , Thank you 🙏 Sir

  • @ramkethireddy9445
    @ramkethireddy94454 жыл бұрын

    best video so far i can say in java 8 realtime !

  • @sambhajikale7338
    @sambhajikale73385 жыл бұрын

    Thank you so much Basant.keep it up for us.

  • @kumargaurav1374
    @kumargaurav13743 жыл бұрын

    Thanks Basant!You are awesome with java and explanation!!

  • @venkatah9847
    @venkatah98475 жыл бұрын

    Thanks Basant. It helped me to understand easily. Nice explanation

  • @vikrantshingne8761
    @vikrantshingne87614 жыл бұрын

    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 🥰

  • @amitprakash2567
    @amitprakash25672 ай бұрын

    Thanks a lot for providing such a nice content with easy and clear explanations.

  • @francksgenlecroyant
    @francksgenlecroyant2 жыл бұрын

    Java Techie is turning me into the real techie slow by slow everyday! Thanks buddy!

  • @Javatechie

    @Javatechie

    2 жыл бұрын

    Thanks buddy 😊 . Keep learning

  • @stevenson68478
    @stevenson684782 жыл бұрын

    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

  • @RanjanSingh-qw7ex
    @RanjanSingh-qw7ex5 жыл бұрын

    Thank you bro as make the complex topic as very easy way.....

  • @prisinha
    @prisinha2 жыл бұрын

    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

  • @venkatah9847
    @venkatah98474 жыл бұрын

    Thanks for the good explanation and examples

  • @spradeep89
    @spradeep893 ай бұрын

    Excellently explained. Thank you very much sir.

  • @thyagtubes
    @thyagtubes4 жыл бұрын

    Your explanations are outstanding.Great work.

  • @Javatechie

    @Javatechie

    4 жыл бұрын

    Thank you 😊

  • @krishnavidala7296
    @krishnavidala72965 жыл бұрын

    Very good one for who learning Java 8 and Nice Explanation bro...

  • @vasanthasetty4002
    @vasanthasetty40024 жыл бұрын

    Good work 👍 keep it up

  • @mrindian7422
    @mrindian74228 ай бұрын

    Thank you for the great explanation ❤

  • @aminebouita7185
    @aminebouita71854 жыл бұрын

    thanks for the tutorial is very well explained

  • @Mohamed-uf5jh
    @Mohamed-uf5jh4 жыл бұрын

    You are just Excellent !

  • @somnathchoudhuri
    @somnathchoudhuri Жыл бұрын

    Very nice Lambda tutorial!

  • @psudhakarreddy6548
    @psudhakarreddy65482 жыл бұрын

    Great 👍

  • @taufiquealam4125
    @taufiquealam41255 жыл бұрын

    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

  • @prisinha
    @prisinha2 жыл бұрын

    5:55 traditional approach 7:07 - 17:17 lambda expression example

  • @saikumarmedishetti2361
    @saikumarmedishetti23615 жыл бұрын

    Superb bro ❤️

  • @raghuveer8654
    @raghuveer86543 жыл бұрын

    excellent explanation...

  • @rajarajagopal7522
    @rajarajagopal75225 жыл бұрын

    Really nice video. As Siddartha mentioned if could provide stream and predict it will be useful. Thanks

  • @lievangeline1547
    @lievangeline15473 жыл бұрын

    Thank you very much. It would be great if your videos could enable autogenerated English Caption.

  • @chetanbhandari3033
    @chetanbhandari30334 жыл бұрын

    awesome, please prepare more detail concept video of java 8

  • @ogabeksaidov1986
    @ogabeksaidov19862 жыл бұрын

    Thank you sir!

  • @RichaBehera129
    @RichaBehera1292 жыл бұрын

    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 💞

  • @gautam7452
    @gautam74525 жыл бұрын

    Super Basant :)

  • @siddarthakamble9166
    @siddarthakamble91665 жыл бұрын

    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

  • @vikramravichandran9607
    @vikramravichandran96075 жыл бұрын

    Nice... We love you

  • @Javatechie

    @Javatechie

    5 жыл бұрын

    Thanks Vikram 😍

  • @tomaspyth7017
    @tomaspyth70174 жыл бұрын

    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!??

  • @tussharsurya5829
    @tussharsurya58295 жыл бұрын

    Thank you for this learning video. Kindly share other features of java8 as well.

  • @Javatechie

    @Javatechie

    5 жыл бұрын

    Hi Surya , will upload all the features.

  • @debaprasadsahoo3707
    @debaprasadsahoo37075 жыл бұрын

    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

  • @pawankumarmahajan3800
    @pawankumarmahajan38005 жыл бұрын

    In real time in present secario lambda expression mostly use for sorting the data or else..any use case..Thanks for Superb Video

  • @little-by-little-one-trave1770
    @little-by-little-one-trave17702 жыл бұрын

    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 ?

  • @ArshadKhan007
    @ArshadKhan0075 жыл бұрын

    Good explanation on Lambda, Could you please make videos on Stream & Date Time API if possible. Thanks @javaTechie

  • @Javatechie

    @Javatechie

    5 жыл бұрын

    Will continue it

  • @prisinha
    @prisinha2 жыл бұрын

    23:23 anonymous implementation of functional interface for customised sort

  • @prisinha
    @prisinha2 жыл бұрын

    18:18 traditional approach for customised sort

  • @prisinha
    @prisinha2 жыл бұрын

    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

  • @shilpasingla1739
    @shilpasingla1739 Жыл бұрын

    Sir ..why functional interfaces are restricted to one abstract method?

  • @prisinha
    @prisinha2 жыл бұрын

    3:33 customised functional interface

  • @tarunkumar143
    @tarunkumar1433 жыл бұрын

    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

  • @akhilaraj443
    @akhilaraj44315 күн бұрын

    Hi sir, is there any pdf with you ?pls share if you have .it will useful for us.

  • @prisinha
    @prisinha2 жыл бұрын

    2:22 functional interface

  • @varshithachodagam796
    @varshithachodagam7963 жыл бұрын

    Can we override Functional Interface's static methods in subclasses?

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    Static method can't be override

  • @jagadeeshbelagallu5243
    @jagadeeshbelagallu52433 жыл бұрын

    Is Lambda expression support only single abstract method class?

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    Yes before lambda you should know functional interface

  • @immortalhuman7085
    @immortalhuman70853 жыл бұрын

    Lambda expression application on both FunctionalInterface as well interface having one abstract method only?

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    Yes

  • @gouthamreddy_careerPath
    @gouthamreddy_careerPath2 жыл бұрын

    What is the shortcut that you keep on using to re-arrange the code after writing every line ?

  • @Javatechie

    @Javatechie

    2 жыл бұрын

    Command + option + L

  • @gouthamreddy_careerPath

    @gouthamreddy_careerPath

    2 жыл бұрын

    @@Javatechie Ctrl + Shift + F in windows.....thank you sir

  • @AbhaySingh-ds9et
    @AbhaySingh-ds9et2 жыл бұрын

    Can you please provide ppts also of Java 8..

  • @raveendrareddy8900
    @raveendrareddy89005 жыл бұрын

    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

  • @prisinha
    @prisinha2 жыл бұрын

    4:44 lambda expression is coded for functional interface

  • @prisinha
    @prisinha2 жыл бұрын

    24:24 lambda expression for customised sort

  • @raghuakuthota4900
    @raghuakuthota49002 жыл бұрын

    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

  • @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

  • @raw_hse

    @raw_hse

    2 ай бұрын

    @@shubhamkumar-gw4vb me too!

  • @dilkibaat1039
    @dilkibaat10395 жыл бұрын

    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

  • @raveendrareddy8900
    @raveendrareddy89005 жыл бұрын

    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

  • @bharatmakkar9706
    @bharatmakkar97067 ай бұрын

    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

  • @anshupanda2149
    @anshupanda21494 жыл бұрын

    R u an old Student Of Sriman Sir ?

  • @Javatechie

    @Javatechie

    4 жыл бұрын

    Yes I am

  • @sekhar4033

    @sekhar4033

    2 ай бұрын

    ​@@Javatechie great

  • @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

  • @akashtawade9264
    @akashtawade92642 жыл бұрын

    But comparator has 2 methods, one is compare() and second is equals().

  • @Javatechie

    @Javatechie

    2 жыл бұрын

    Equals method is default one not abstract method

  • @johngather4055
    @johngather40554 жыл бұрын

    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

Келесі