java 数组大小_java – 数组列表容量与数组大小之间的区别
我在CoreJava I书中阅读了下面的代码段.Allocating an array list asnew ArrayList (100) // capacity is 100is not the same as allocating a new array asnew Employee[100] // size is 100There is an important distinction b...