Anonymous Content interview question

As usual normal Java questions