Blowhorn interview question

Explain all concepts in OOPS with example