title: Immutable array in Java
body: <p>Is there an immutable alternative to the primitive arrays in Java? Making a primitive array <code>final</code> doesn't actually prevent one from doing something like</p>
  
  <pre><code>final int[] array = new int[] {0, 1, 2, 3};
  array[0] = 42;
  </code></pre>
  
  <p>I want the elements of the array to be unchangeable.</p>