Accenture Interview Question

They asked basically about oops concepts