Java Arrays

Published: September 16, 2015

In Resources.

Overview

Declaration of an array in Java is very simple:

// array of literals 
int[] numbers = { 1, 8, 5, 10 };

// array without initial values
int[] varNumbers = new int[10];
varNumbers[0] = 1;
varNumbers[1] = 8;
..

Introductory Tutorials

n-dimentional arrays

java.util.Arrays

Utility class for handling Java arrays, built-in.

org.apache.commons.lang.ArrayUtils

Apache Commons utility class for additional array functions.

See also

Share

follow