Tech Mahindra Interview Question

Explain about oops concept