TO THE NEW interview question

Simple java string manipulations. Oops. Basic selenium questions. Puzzles.