Online Java Compiler By
JavaTpoint.com
import java.util.concurrent.atomic.AtomicLong; public class AtomicLongFloatValueExample1 { public static void main (String [] args) { AtomicLong atomiclong = new AtomicLong(); //Returns the initialized value as float float result = atomiclong.floatValue(); //Prints the float value off atomic long System.out.println(result); } }
Output