Capgemini Interview Question

explain java 8 fetures with example.