1.for循环,最常见
2.利用foreach
3.利用jdk自带的方法 --> java.util.Arrays.toString()
转载于:https://www.cnblogs.com/baiaixing/p/11369514.html