Mutual Mobile interview question

Java concepts