Anonymous Content interview question

basic oops concepts