Online Java Compiler By
JavaTpoint.com
import java.util.concurrent.atomic.AtomicInteger; public class AtomicIntegerDoubleValueExp3 { public static void main(String[] args) { AtomicInteger atomicint= new AtomicInteger(100); double number=atomicint.doubleValue(); System.out.println("the double value of integer: "+ number); } }
Output