Online Java Compiler By
JavaTpoint.com
import java.util.concurrent.atomic.AtomicInteger; public class AtomicIntegerIntValueExp4 { public static void main(String[] args) { AtomicInteger value = new AtomicInteger(-10); value.intValue(); System.out.println("the number is: " + value); } }
Output