array_index_access_order.mj 274 Bytes
Newer Older
uwgwb's avatar
uwgwb committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
class B {
    public static void main(String[] args) {
        int[] i = new int[4];
        int x = 0;
        while(x < 4) {
            i[x] = (x = x + 1);
        }
        x = 0;
        while(x < 4) {
            System.out.println(i[(x = x + 1)]);
        }

    }

}