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