- An array can contain only one data type, while array list can contain any data type in the form of object.
- With array you cannot dynamically increase or decrease the size of the array, but array list automatically increases the size, when any element or object is added.
No comments:
Post a Comment