首页 > 代码库 > 动态添加字符串数组

动态添加字符串数组

String[] str = new String[]{};for(var i=0;i<10;i++){      str[i] = new String("a");  }

 

动态添加字符串数组