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