One way to achieve what you want is to wrap the int primitive within Integer objects, stuff those objects within an ArrayList and obtain an unmodifiable list from the Collections class, as depicted in the following code:
There is unfortunately no way you can prevent someone from changing the value of an array component