employer cover photo
employer logo
employer logo

Rubicon Project

Désormais appelé Magnite

Est-ce votre entreprise ?

Question d’entretien chez Rubicon Project

find the error in the code String test="love" test+=test;

Réponse à la question d'entretien

Utilisateur anonyme

4 nov. 2017

this one is more of a stupid question, code won't produce no compile time error or no runtime error. But according to the interviewer its betrays the immutability of the string. it does not because new test memory object will be created and referenced.