INDEX OUT OF BOUND ERROR

Bubble_Sort(arr2, 0, arr2.length-1); in line 4