2. (C) If arr contains no negative integers, the value of i will eventually exceed N–1, and arr[i] will cause an ArrayIndexOutOfBoundsException to be thrown.