Question d’entretien chez NSEIT

How can you let this Singleton class getInstance() method be called from multiple threads?

Réponse à la question d'entretien

Utilisateur anonyme

23 août 2022

By marking the method with synchronized keyword.