【发布时间】:2018-09-05 12:48:04
【问题描述】:
我在ArrayList 中有一些Integers
ArrayList<Integer> al = new AraayList<Integer>();
al.add(100);
al.add(211);
现在我想将ArrayList 中的值拆分为一个数组。假设100是ArrayList中的第一个值,那么对应的数组应该包含1、0、0
【问题讨论】:
-
我投票决定将此问题作为题外话结束,因为:"3. Questions asking for homework help must include a summary of the work you've done so far to solve the problem, and a description of the difficulty you are having solving it."。您问题的当前状态不满足这些要求。使用edit 选项来改进它。