Hexaware Technologies interview question

Explain OOPs concepts with examples