-
Arraylist is a variable length Collection class while array has a fixed length.
-
Arraylist only can store Objects while array can store both objects and primitives.
arrayList or array in java
最新推荐文章于 2020-10-06 16:38:01 发布
Arraylist is a variable length Collection class while array has a fixed length.
Arraylist only can store Objects while array can store both objects and primitives.