JAVA libraries | Sololearn: Learn to code for FREE!


JAVA libraries

isn't AtomicBoolean function implemented in java libraries in soloLearn? I was coding: when I realised that I couldn't find java.util.concurrence.atomic any help?

3/10/2018 11:08:31 AM

Pau Bartolí

2 Answers

New Answer


Just import the AtomicBoolean class itself. Replace line 2 with: import java.util.concurrent.atomic.AtomicBoolean;


thanks mate!!