Wipro Interview Question

oops concepts