Wipro interview question

Explain the oops concepts with examples