public static Object getElementFromArrary ( Object array , int index ) { try { return Array . get ( array , index ) ; } catch ( ArrayIndexOutOfBoundsException e ) { return null ; } }
Gets the element from an array with given index .