Pregunta de entrevista de Deloitte

Why we have 2 representation of String in Java?