Accenture Interview Question

oops concepts