JAVA libraries | Sololearn: Learn to code for FREE!

+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?

3/10/2018 11:08:31 AM

Pau Bartolí

2 Answers

New Answer

+1

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

0

thanks mate!!