1.if(char <= ‘9‘ && char >= ‘0‘)
比较字符时注意加 ‘ ‘
2.type argument cannot be of primitive type
类型参数不能是基元类型
出处: ArrayList<char> charArr = new ArrayList<char>();
3.字符串集合的遍历
日常整理
原文:https://www.cnblogs.com/bushishucai/p/9631691.html