2015-09-15 51 views

回答

1

ArrayList中没有任何内容。 ArrayList.size()返回数组中元素的个数,但是你的数组没有元素。

1

因为您没有在集合中放入任何东西 - 只是为集合中的东西留出了一些空间。

相关问题