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