Deloitte interview question

Explain all oops concepts with example