IBM interview question

Explain OOPS concepts with examples