Infosys Interview Question

Java , java 8, spring