Site hosted by Angelfire.com: Build your free website today!
 

Initialization

class IntArray {
    public void main(String[] args) {
        int[] myIntArray = { 4, 3, 2, 1 };
        for (int i = 0; i < myIntArray.length, i++ )
            System.out.println(i + ": " + myIntArray[i]);
    }
}