Infosys interview question

OOP concepts Java 8 features