📜  数组与集合 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:32.959000             🧑  作者: Mango

代码示例1
There are so many differences
1.Arrays are fixed in size but Collections are dynamic size.
2.Arrays can hold both primitives and wrapper
objects but collections can hold only objects.
3.We have iterators for collection but we
do not have them for arrays.