Back to Browse

Most Asked Java 8 Stream APIS Employee Data Based Top 10 Interview Coding Questions Day-7

1.1K views
Aug 6, 2024
44:21

In this video ,I will discuss Employee Data Based Top 10 Interview Questions where i have taken employee data record and output will be according to the interviewer query that i have collected and i am going solve one by one these problems which is frequently asked in product based company .This question is very important from interview point of view .It is must watch concept . #javainterviewquestion #programming #javaprogrammingonline #coding #java #javacodinginterviewquestions #productbasedcompanies --------------------------- Top 10 Questions 1. Find The Number Of Female And Male Employee. 2. Find The Employee Name And Theirs Department. 3. Count The Employee Who Belongs To HR Department. 4. Find The Highest Salary Of Employee. 5. Find The Average Salary Of Employee. 6. Sort The Employee Salary In Descending Order. 7. Find The Nth Highest Salary Of Employee Like 2'nd Highest Salary Or 3'rd Highest Salary so on. 8. Find The Average Salary Of Employees In Each Department. 9. Find The Employee City Whose Salary Threshold = 80000. 10. Find The Name Of All The Departments Using Java 8 Features Like:-STREAM,GROUPBY,DISTINCT,PARTIONBY,MAP,METHOD REFRENCE -------------------------------- Fields Values ---------------------------- int empId; String name; String emailId; String mobileNumber; int salary; String city; String gender; String dob; String department; int age; -------------------------------- Employees Data Sets ---------------------------- (new Employee(1, "Manish Kumar", "[email protected]", "9693755109", 85000, "Gaya", "Male", "03-02-1999", "Development", 23)), (new Employee(2, "Rajnish Mehta", "[email protected]", "9693755110", 90000, "Patna", "Male", "21-05-1997", "Testing", 26)), (new Employee(3, "Anjali Sharma", "[email protected]", "9693755111", 75000, "Delhi", "Female", "19-07-1996", "HR", 28)), (new Employee(4, "Rohit Verma", "[email protected]", "9693755112", 95000, "Mumbai", "Male", "10-08-1995", "Finance", 29)), (new Employee(5, "Priya Singh", "[email protected]", "9693755113", 72000, "Ahmedabad", "Female", "23-12-1994", "Marketing", 30)), (new Employee(6, "Amit Patel", "[email protected]", "9693755114", 80000, "Bengaluru", "Male", "05-01-1998", "Operations", 26)), (new Employee(7, "Sneha Kumar", "[email protected]", "9693755115", 68000, "Hyderabad", "Female", "17-09-1996", "Support", 28)), (new Employee(8, "Vikas Gupta", "[email protected]", "9693755116", 100000, "Chennai", "Male", "30-04-1997", "Development", 27)), (new Employee(9, "Neha Rana", "[email protected]", "9693755117", 77000, "Kolkata", "Female", "02-03-1995", "HR", 29)), (new Employee(10, "Rajesh Singh", "[email protected]", "9693755118", 82000, "Pune", "Male", "28-10-1994", "Sales", 30)) Social Media Link Please Connect With Me And Follow My Page 1. Java Developer Linkedin Page https://www.linkedin.com/company/104581726/admin/dashboard/ 2. Linkedin My Job Profile https://www.linkedin.com/feed/ 3.Facebook page https://www.facebook.com/profile.php?id=61563942425038

Download

0 formats

No download links available.

Most Asked Java 8 Stream APIS Employee Data Based Top 10 Interview Coding Questions Day-7 | NatokHD