Write a program to using stram api to filter employee based on age.
Anonymous
List filteredEmpList = empList.stream().filter(e -> (e.getAge() > 30 && e.getAge()<40)) .collect(Collectors.toList());
Check out your Company Bowl for anonymous work chats.