This repository contains a collection of Java 8 coding questions and their solutions, aimed at preparing for Java developer interviews. Topics covered include:
- Streams API
- Lambdas
- Functional Interfaces
- Default and Static Methods in Interfaces
- Optional Class
- Method References
-
List<Employee> aEmp = empList.stream() .filter(emp -> emp.getName().startsWith("A")) .collect(Collectors.toList());