What is in the array after the code assigns values to it?
Use the Arrays class's deepToString() method to format the array for printing:

System.out.println("an ID "+...