Java tutorial
import java.lang.reflect.Array; public class Main { public static void main(String args[]) { double[] array = new double[] { 1.1, 2.2, 3.3 }; double value = Array.getDouble(array, 1); System.out.println(value); } }