smartbuzz interview question

OOPS concept