Fill in the blank code for arrays
I'm new to the forum and the online university I go to has fill in missing code type assignments. I've spent a ton of hours this week trying to learn arrays and how they work, but I'm stuck on the first part of our assignment and am not sure what code to fill it in with. Any help and explanation would be appreciated.
// Application Reverse reads numbers into an array
// and prints them out in reverse order.
public class Reverse
public static void main(String args) throws IOException
final int MAX = 10;
Scanner inFile =
new Scanner(new FileReader("Reverse.dat"));
numbers = new int[MAX];
for (index = 0; index < numbers.length; index++)
// FILL IN Code to read value
// FILL IN Code to store value into numbers
for (index = MAX - 1; index >= 0; index--)