array = new int[3]; array[0] = 0; array[1] = 1; array[2] = 2; return array;
return array[index];
if (index < array.length && index >= 0) { array[index] = value; return true; } else { return false; }