String[] str = new String[] {}; for (int i = 0; i < 10; i++) { str[i] = new String("a"); }
本文标题: java动态创建数组 文章分类:【JavaWeb】 非特殊说明,本文版权归【胡同里的砖头】个人博客 所有,转载请注明出处.
上一篇:android AlertDialog显示错误 Unable to add window token null is not for an application解决办法 下一篇: Your project contains error(s),please fix them before running your application