Capgemini interview question

Optional class in java 8