ABC interview question

Explain oops and it's different types