Is there a "neater" way to code the following? (It prints the 5 data elements in an array.)
System.out.println("All the values in the array are: ");
System.out.println(+ array1[0]);
System.out.println(+ array1[1]);
System.out.println(+ array1[2]);
System.out.println(+ array1[3]);
System.out.println(+ array1[4]);
Thanks,
Bud