What is the primary use of atomic classes like AtomicInteger in Java?
AtomicInteger
To synchronize the execution of multiple threads
To manage large collections of data efficiently
To provide a thread-safe way to modify single values
To reduce the memory footprint of applications