Question d’entretien chez Qualitest

How are mutable and immutable Strings created in Java, with example ???

Réponse à la question d'entretien

Utilisateur anonyme

20 mai 2019

If you want to create a immutable string, assign it with "String" type. If you want to create a mutable string, assign it with "StringBuffer" or ""StringBuilder".

1