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.
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.
Wow excellent video and it's looks like real interview. Your explanation is awesome.
Thanks. Your comments really motivates us 👍
Thanks for this video and the way of explanation. Able to understand clearly.
Thanks. You comments really motivate us 🙂
The thing is everything is remembered in demo or in daily life but in real interview every concept becomes foggy..... 😂😂
and we don't get access to "Google".
Good examples
Thank you the explanation is great and the way you solve problem believe me helps a lot to understand the problem easily. 😀
Thanks. Your comments really motivates us 👍
nice explanation
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
Thanks Raj. Yes will do. 👍
Thanks for uploading this kind useful videos 🙂
Thanks a lot for appreciation. 🙂
Upload more videos with different logical questions
very good
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
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. 👍
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?
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.
How to get only maximum salary instead of employee object ?
how to find sum of the salary of each department????
How can Fetch 2nd highest paid from each Department
Will do the video for this 👍
How much experience ?
2-3 years experience.
How to remove adjacent duplicates of a string in java8
We will cover this in upcoming videos. 👍
@@cloudtech5260 please do it
the sound is bad bro
you explained nothing. it's just copied and pasted from any other source.
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)))));
}
}