Online Java Compiler By
JavaTpoint.com
import java.util.concurrent.atomic.AtomicLong; public class AtomicLongIntValueExample3 { public static void main (String [] args) { AtomicLong atomiclong = new AtomicLong(-65476L); int result = atomiclong.intValue(); //Prints the int value off atomic long System.out.println(result); } }
Output