My suggestion is to create an array, use one of the methods and print out the results using the Arrays class's toString method:


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