+ 1
JAVA libraries
isn't AtomicBoolean function implemented in java libraries in soloLearn? I was coding: https://code.sololearn.com/c5GlFghF9nFt/#java when I realised that I couldn't find java.util.concurrence.atomic any help?
2 Réponses
+ 1
Just import the AtomicBoolean class itself. Replace line 2 with:
import java.util.concurrent.atomic.AtomicBoolean;
0
thanks mate!!