Need to write some code for Java programming dealing with arrays. Say I have 1000000 integer values. I want to store the first 500 values into an array.
Then I want to take the next 500 values and store them into an array, starting over at element 0. I need to repeat this until I have gone through all of the 1000000 integer values.
I am inputting these values from another file. They are NOT stored in an array. Just individual number values.