Answers for "difference between arraylist and array in java"

21

Difference between Array vs ArrayList

Arrays are fixed size
ArrayList's size auotomatically adjusted
Arrays can hold primitives and object
ArrayList can hold only objects
Arrays can be multi dimensional
ArrayList cannot be multi-dimentional
Array is a build in data structure
ArrayList is implementing class of List interface in Collection framework
Posted by: Guest on November-28-2020

Code answers related to "difference between arraylist and array in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language