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