Java tutorial
import java.lang.reflect.Array; import java.util.Arrays; public class Main { public static void main(String args[]) { int[] array = new int[] { 1, 2, 3 }; Array.setInt(array, 1, 100); System.out.println(Arrays.toString(array)); } }