Is there a way to get the required number of arrays present in the arraylist?

for example, in an arraylist with 10 arrays, I want to get the first 3 arrays

Do you mean the first 3 arrays, or the first 3 items in an array?

Anyway, take a look at the Slice Array Plugin.

2 Likes