Zafrul
TechStack
Home
Blog
Interview Q&A
Projects
AI Assistant
Resume Analyzer
Job Match
Contact
Java
Java 8
Interview questions on Java 8.
All Levels
Beginner
Intermediate
Advanced
Search
Showing
10
of
21
questions
1. I have a list of 10K employee data. I want to perform some data transformation and filtration, remove duplicates, and get data in sorted order. How do you handle it?
+
2. Filter Employee data where Name starts with “A”, CITY=”Bangalore”, SALARY>100k, sort data by Employee Name in DESC order, avoid duplicate data, and in the final response collect only Name, Salary, and Designation (Employee class has more than 10 fields). How would you do it?
+
3. If Stream modifies the data using filter/map, isn’t that a modification?
+
4. What are the new features in Java 8?
+
5. What are intermediate and terminal operations in streams?
+
6. Have you used filter() and map()?
+
7. How to reverse a list using Java 8 Stream API?
+
8. How to sort a list using Java 8?
+
9. Do we have an intermediate method in Java 8 to sort a list?
+
10. What is a functional interface?
+
Previous
Page 1 of 3
Next