标签:
1、数组操作类Arrays与System
2、方法的可变参数
int sum(int a,int ... args) { }
3、类似foreach的for循环
public static void main(String[] args) { String[] itcastNames={"bjit","cdit","gzit"}; for (String name : itcastNames) { System.out.print(name + " ,"); } }
标签:
原文地址:http://www.cnblogs.com/MrZivChu/p/startstudyjava2.html