employer cover photo
employer logo
employer logo

Optimum InfoSystem

Fait partie de Optimum Solutions

Est-ce votre entreprise ?

Question d’entretien chez Optimum InfoSystem

what is string pool in java?

Réponse à la question d'entretien

Utilisateur anonyme

6 août 2024

In Java, a string pool is a memory space where strings are stored. When a string is created, Java checks if an identical string already exists in the pool. If it does, the new string reference points to the existing string in the pool. If not, a new string is created and added to the pool.