I would like to find out if there is a java function that can check the values from index 0-5? For example. Without using a loop Is there a function that identifies the elements in sub Array1 [0-5] as { 1,2,3,4,5} `int Array1[]={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20 }`. Thanks for your help.