Capgemini interview question

explain java 8 fetures with example.