Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.util.concurrent.atomic.AtomicIntegerArray;

public class Main {
    public static void main(String[] argv) throws Exception {
        AtomicIntegerArray atomicIntegerArray = new AtomicIntegerArray(new int[] { 0, 1, 2, 3 });

        atomicIntegerArray.incrementAndGet(0);

        System.out.println(atomicIntegerArray);
    }
}