Functional Interface - Java 8 Tutorial | Predicate, Consumer, Function & Supplier

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ก.พ. 2025
  • Explained about the working of Functional Interfaces introduced in Java 8. There are 4 types of functional interfaces introduced in Java 8. They are
    Predicate
    Consumer
    Function
    Supplier
    Support Me on : www.buymeacoff...
    Provide the explanation and implementation in code.
    Top Playlists:
    Design Microservices: • Building Microservices...
    DevOps Tutorials: • Spring Boot Docker Exa...
    Spring Cloud Tutorials: • Spring Cloud Ribbon Eu...
    RabbitMQ Tutorials: • RabbitMQ in 5 minutes
    Quick Revision - Java (Interview Questions) : • Create A Custom Exception
    Quick Revision - Spring (Interview Questions) : • Transaction Management...
    Spring Boot Tutorials: • Inject Prototype Bean ...
    Multithreading In Java: • Building Microservices...
    Java 8 Multithreading Complete Tutorial: • CompletableFuture In J...
    ExecutorService Java | Complete Course: • ExecutorService 01 | J...
    QuickTimers: • Maintain Caching | Cac...
    All Java 8 Tutorials Link Shown Below :
    Java 8 Tutorial (Playlist): • Default and Static met...
    Java 8 Terminal Operations : Java - 8 : Terminal Operations Of Stream API | Terminal Operations | Java -8 Tutorial | Stream API : • Java - 8 : Terminal Op...
    Java 8 : Intermediate Operations Of Stream API | Intermediate Operations | Java8 Tutorial Stream API : • Java 8 : Intermediate ...
    Functional Interface - Java 8 Tutorial | Predicate, Consumer, Function & Supplier : • Functional Interface -...
    Default and Static method - Java 8 : • Default and Static met...
    CompletableFuture In Java8 (supplyAsync) : • CompletableFuture In J...
    CompletableFuture In Java8 (runAsync) : • CompletableFuture In J...
    #FunctionalInterface #JavaTutorial #PlayJava

ความคิดเห็น •

  • @Gnahnavi
    @Gnahnavi 2 ปีที่แล้ว +11

    hats off to you. All functional interfaces in 10 minutes with examples. Very precise and up to the point

  • @cmvpmv8761
    @cmvpmv8761 ปีที่แล้ว

    Such short and simple examples actually made it easy to grasp. The only confusion I faced was with your naming convention for object reference variable. 8 was confusing a lot reading object name thinking that's a method name. Thanks for sharing your knowledge. 👍

  • @venkateshvk8919
    @venkateshvk8919 2 ปีที่แล้ว +2

    Seriously it's really helpful 😃 nice explanation now i can crack upcomming interview on functional interface

  • @tanishmanas1011
    @tanishmanas1011 ปีที่แล้ว +1

    Great....which is realy helped me a lot !!! do more videos for Us ....Thank you!

  • @AshishVarghese181
    @AshishVarghese181 ปีที่แล้ว +1

    Lucid explanation. Made it easy to grasp.

  • @mallikarjun-shurpali9698
    @mallikarjun-shurpali9698 ปีที่แล้ว +1

    Thanks Bro.. Clear explanation

  • @abhih4405
    @abhih4405 ปีที่แล้ว +1

    Very nice explanation. Thankyou.

  • @happilysmpl
    @happilysmpl 10 หลายเดือนก่อน +1

    Explained v well in short 👍

    • @TrendingCode
      @TrendingCode  10 หลายเดือนก่อน

      Thanks 🙂

  • @skibielec
    @skibielec 3 ปีที่แล้ว +4

    Short and simple. Thank you

  • @sanjay_badwaik
    @sanjay_badwaik 2 ปีที่แล้ว +2

    thank you, sir ..this video helps me a lot to grab the concept very fast..

  • @ItsAnu276
    @ItsAnu276 6 หลายเดือนก่อน +1

    Great man 🔥🔥🙌

  • @sriharshacv7760
    @sriharshacv7760 4 ปีที่แล้ว +2

    Probably what we are looking for is how these constructs simplify our lives.

  • @muralinayani
    @muralinayani 4 ปีที่แล้ว +2

    Explained very clean.. Thank you so much.

  • @yoyochante-yo7306
    @yoyochante-yo7306 4 วันที่ผ่านมา

    really useful, tysm.

  • @afifkhaja
    @afifkhaja ปีที่แล้ว +1

    I really needed this!

  • @nilesh5577
    @nilesh5577 2 ปีที่แล้ว +1

    Thank you so much in explaining short and simple

  • @sachinmankotia2291
    @sachinmankotia2291 2 ปีที่แล้ว +1

    Thanks for this amazing video. So easy to understand.

  • @OsmarLeninGonzalezEscorche
    @OsmarLeninGonzalezEscorche 3 ปีที่แล้ว +2

    Excelent!! Thank you so much.

  • @vibhabadhe4843
    @vibhabadhe4843 ปีที่แล้ว +1

    nicely explained

  • @Preethi-xo7lm
    @Preethi-xo7lm ปีที่แล้ว +1

    Thanks a alot❤

    • @TrendingCode
      @TrendingCode  11 หลายเดือนก่อน

      You're welcome 😊

  • @abhaythakur8572
    @abhaythakur8572 3 ปีที่แล้ว +2

    Great explanation

  • @venureddy8481
    @venureddy8481 2 ปีที่แล้ว +1

    simply superb

  • @bhavanakushwaha5798
    @bhavanakushwaha5798 2 ปีที่แล้ว +1

    Nicely explained 👍

  • @رند-س5ح
    @رند-س5ح ปีที่แล้ว +1

    Thank you so much

  • @shyamsundarbhattla4402
    @shyamsundarbhattla4402 ปีที่แล้ว +1

    Nice

  • @AlivHasan
    @AlivHasan 3 ปีที่แล้ว +1

    Clear ! Thanks.

  • @13success66
    @13success66 2 ปีที่แล้ว +1

    Nice explain

  • @babarnazir3900
    @babarnazir3900 4 ปีที่แล้ว

    thank u sir very its very helpful for us hopefully uh will gain subscriber soon inshallahbecause uh put write data

  • @saireddyeguturi8764
    @saireddyeguturi8764 ปีที่แล้ว

    your explanation is good but you haven't said when we will use this functional interfaces and why we will use it

  • @YoQi-rm3xn
    @YoQi-rm3xn หลายเดือนก่อน

    Would love if somebody post there application in some usecase implemented for commercial production grade project,would just love to see

  • @bhartarishinde7776
    @bhartarishinde7776 หลายเดือนก่อน

    Good

  •  4 ปีที่แล้ว

    Muy claro y sencillo para aprender. Muchas gracias.

  • @Harriom-z4w
    @Harriom-z4w 3 หลายเดือนก่อน

    Thanks

  • @amlansasmal
    @amlansasmal 2 ปีที่แล้ว

    can anyone explain how this line works
    Consumer setName=t->t.setName ("Play Java");

    • @RickyRicheRebelle
      @RickyRicheRebelle 2 ปีที่แล้ว +1

      what do you mean, "how this line works" ? it doesn't do anything it's just a lambda definition. setName is basically a consumer that consumes a Person object (mutates the person if you like), so this line could have been written as Consumer setName = person -> person.setName("Play Java"); which is a very bad example by its own, since the person object already has a method called setName()

  • @babarnazir3900
    @babarnazir3900 4 ปีที่แล้ว +1

    thanks again

  • @venu5791
    @venu5791 4 ปีที่แล้ว +1

    Thank you

  • @narayanadhurti1603
    @narayanadhurti1603 4 หลายเดือนก่อน

    Lucid Explanation.

  • @Ravikumar-gj6qw
    @Ravikumar-gj6qw 3 ปีที่แล้ว +1

    Tq bro

  • @husnainajmal3346
    @husnainajmal3346 3 ปีที่แล้ว +1

    best

  • @RobertPodosek
    @RobertPodosek ปีที่แล้ว

    Learn how to put spaces between your operators good god man. Otherwise good video.

  • @amlansasmal
    @amlansasmal 2 ปีที่แล้ว

    plz explain

  • @dankierson
    @dankierson 8 หลายเดือนก่อน

    Poor video.
    He starts using a new construct *before* explaining its purpose.