Write a program to get a list of employees whose salary is greater than 50k and grade is above A. Use Java 8 stream to get the list.

AnswerBot
2y
Program to get employee list with salary > 50k and grade above A using Java 8 stream
Create a list of employees with their salary and grade
Use Java 8 stream to filter employees with salary > 50k and gr...read more
Anonymous
1y
public static void main(String[] args) { List empList = new ArrayList<>(); empList.add(new Employee("Ravi", "Manager", 20000, "Hydrabad", "A")); empList.add(new Employee("Suresh", "Manager", 17000, "...read more
Help your peers!
Add answer anonymously...
Coforge Technical Analyst interview questions & answers
A Technical Analyst was asked 1mo agoQ. What is the name of the student with the second highest score from the dictionar...read more
A Technical Analyst was asked 2mo agoQ. How do you handle upsert operations in GCP BigQuery?
A Technical Analyst was asked 2mo agoQ. How do you load a CSV file to BigQuery?
Popular interview questions of Technical Analyst
A Technical Analyst was asked 1mo agoQ1. What is the name of the student with the second highest score from the dictionar...read more
A Technical Analyst was asked 2mo agoQ2. How do you handle upsert operations in GCP BigQuery?
A Technical Analyst was asked 2mo agoQ3. How do you load a CSV file to BigQuery?
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

