Atos-Syntel Interview Question

oops concept