title: Atomic integer vs syncronization
body: <p>Please advise is java.util.concurrent.atomic package is another alternative to achieve synchronization let say there is a variable and 10 different threads are incrementing it then what is the role of atomic integer in that case in context of synchronization..! </p>