标签:
数组copy类:
public class TestArrayCopy{ public static void main(String[] args){ String[] s={"Microsoft","Apple","Google","Baidu"}; String[] sbak=new String[6]; System.arraycopy(s,0,sbak,0,s.length); int i=0; while(sbak[i]!=null){ System.out.print(sbak[i]+" "); i++; } } }
标签:
原文地址:http://www.cnblogs.com/wenscript-share/p/4438185.html