以该数组为例
Object[] paramValues;
for (int i = 0; i < paramValues.length; i++) {
System.out.print(paramValues[i] + ", ");
}
for(Object n: paramValues)
System.out.println(n+", ");
System.out.println( Arrays.toString(paramValues) );
System.out.println(Arrays.asList(paramValues));
Arrays.asList(arr).stream().forEach(s -> System.out.println(s));//java8