Capgemini Interview Question

Optional class in java 8