Question d’entretien chez Deloitte

Why we have 2 representation of String in Java?