Online Java Compiler By
JavaTpoint.com
import java.lang.reflect.Array; public class ReflectArraygetIntExample2 { public static void main (String args[]) { int[] arr = new int[]{80,79,78}; int vl = Array.getInt(arr, 0); System.out.println("value : " +vl); } }
Output