Java 8 Find Highest Paid Employee From Department | Parallel and Sequential Streams

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024
  • In this video, we are going to find the highest-paid employee using Java 8.
    We are also going to look at the practical difference between the sequential and parallel streams.

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

  • @kala-thegermanshepherd701
    @kala-thegermanshepherd701 2 ปีที่แล้ว +1

    From where i can learn the methods of collectors in streams, and how i can find the particular method for particular thing, I really searching for this video for many days with correct explanation.
    Thanks for Posting and being helpful to others.

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

    Wow excellent video and it's looks like real interview. Your explanation is awesome.

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

      Thanks. Your comments really motivates us 👍

  • @elangovan.s7820
    @elangovan.s7820 2 ปีที่แล้ว +1

    Thanks for this video and the way of explanation. Able to understand clearly.

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

      Thanks. You comments really motivate us 🙂

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

    The thing is everything is remembered in demo or in daily life but in real interview every concept becomes foggy..... 😂😂

  • @RealSlimShady-um6gf
    @RealSlimShady-um6gf 6 หลายเดือนก่อน

    Good examples

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

    Thank you the explanation is great and the way you solve problem believe me helps a lot to understand the problem easily. 😀

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

      Thanks. Your comments really motivates us 👍

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

    nice explanation

  • @Raj-ql2vz
    @Raj-ql2vz 2 ปีที่แล้ว +1

    Make more videos same based on cote java on topics like streams , java 8 features ,collection framework etc etc , or share some list of questions same as this one

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

      Thanks Raj. Yes will do. 👍

  • @Ravikumar-gj6qw
    @Ravikumar-gj6qw 2 ปีที่แล้ว

    Thanks for uploading this kind useful videos 🙂

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

      Thanks a lot for appreciation. 🙂

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

    Upload more videos with different logical questions

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

    very good

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

    Bro Where Can we Learn These Techinques and Array Streams and Spring boot concepts
    Can you Provide any Resources
    Present I Learned Some Basic DSA{JAVA} Solving some easy and medium level Questions from Leetcode
    Tq

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

      Leetcode is very good for learning approaches to solve problems.
      For Spring boot, watch kaushik's series. It is a good one.
      For Java 8 practice is the only way. Best of luck. 👍

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

    Thanks for the video.
    In the same stream convertion to map I need to store employees by department in sorted order by salary.
    Can you please tell how to do that?

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

      That's also simple buddy, what you need to do is, just replace the collectingAndThen() with, "treemap:: new" & create equals() method in employee class with salary only. Make sure that only for salary . That's it you will get your Map with Keys as - Dept, values ordered by Salary in a sorted manner.

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

    How to get only maximum salary instead of employee object ?

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

    how to find sum of the salary of each department????

  • @slucky...
    @slucky... 2 หลายเดือนก่อน

    How can Fetch 2nd highest paid from each Department

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

      Will do the video for this 👍

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

    How much experience ?

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

    How to remove adjacent duplicates of a string in java8

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

      We will cover this in upcoming videos. 👍

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

      @@cloudtech5260 please do it

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

    the sound is bad bro

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

    you explained nothing. it's just copied and pasted from any other source.

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

    Can you write a program to get top 5 salaries and Employees name given they have Employee ID , Employee NAme , Employee Department , Employee Salary , Employee isActive boolean true property.
    Please explain in easy words and execute and write program using java 8 functional programming features and streams to Pick only the TOP 5 salary and top 5 Employee Name only.
    I tried with this following approach but interviewer rejected me and i am not able to solve. Please explain how to write the solution because i am crying so much.
    public class Employee {
    //id,name,department,salary,isActive;
    //Find out top 5 IT department, e.salary)))));
    }
    }