Pregunta de entrevista de IBM

Asking about using array in a string and multiple lines.