Pavan interview question

Explain about oops concepts with example?