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