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