elementsAt function elementsAt(Integer[] index, Object array) A function to extract element(s) from an array by index. Parameters Integer[] index - index list Object array - array to retrieve element of Return type Object