Manomano interview question

java strings uesd by array