Tesla interview question

Explain all Oops concepts with a practical example