Question d’entretien chez IBM

if a variable is shared by multiple thread, how do you ensure thread safety.

Réponse à la question d'entretien

Utilisateur anonyme

27 mars 2016

classes like AtomicInteger would be helpful. they are satisfied with my answer, then they go deeper, I said using a independent cache like Redis is helpful