Online Java Compiler By
JavaTpoint.com
import java.util.concurrent.atomic.AtomicInteger; public class AtomicIntegerToStringExp5 { public static void main(String[] args) { AtomicInteger value = new AtomicInteger(); String value1 = value.toString(); System.out.println("New value is: " + value1); } }
Output