posts - 93,  comments - 2,  trackbacks - 0
public static void hel(int[] a,int[] b,int[] c){
      System.arraycopy(a, 0, c, 0, a.length);
      System.arraycopy(b, 0, c, a.length, b.length);
 }
 public void testabc(){
      int[] str = new int[4];
      int[] a = new int[]{1,2};
      int[] b = new int[]{3,4};
      hel(a,b, str);
      for(int i=0;i<str.length;i++){
           System.out.println(str[i]);
      }
 }
posted on 2013-12-25 11:39 Terry Zou 阅读(132) 评论(0)  编辑  收藏 所属分类: Android

只有注册用户登录后才能发表评论。


网站导航:
 
<2013年12月>
24252627282930
1234567
891011121314
15161718192021
22232425262728
2930311234

常用链接

留言簿(2)

随笔分类

随笔档案

文章分类

文章档案

相册

收藏夹

Java

搜索

  •  

最新随笔

最新评论

阅读排行榜

评论排行榜