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