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