Wipro Interview Question

mosyly on java 8