Array数组:
1-基本类型、对象类型。
2-大小固定。
ArrayList集合:
1-对象类型。
2-大小动态变化。
3-方法:addAll(),removeAll(),iterator()....
4-默认大小为10个元素,HashMap默认大小为16。