本文介绍了数组与ArrayList的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我不能动态地将一个项目添加到数组中吗?例如 public char [] = {" a"," b"}; char.Add(" newitem"); 我真的必须切换到ArrayList来执行此操作吗?is it true that I cannot dynamically add an item to an array? Egpublic char[] = {"a","b"};char.Add("newitem");Do I really have to switch to ArrayList to do this?推荐答案 这篇关于数组与ArrayList的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-22 17:09