I have an array of integers, which I fill in one by one at runtime. I store a variable <I>currentIndex</I>, which is the index of the next empty element of the array ...