AtomicIntegerArray.toString() has the following syntax.
public String toString()
In the following code shows how to use AtomicIntegerArray.toString() method.
//from w w w .j ava 2 s . co m import java.util.concurrent.atomic.AtomicIntegerArray; public class Main { public static void main(String[] argv) throws Exception { AtomicIntegerArray atomicIntegerArray = new AtomicIntegerArray(10); System.out.println(atomicIntegerArray.toString()); } }
The code above generates the following result.