Ganesh Mills interview question

Oops concept explains and usage