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