Changed subjective "better than" wording (#21548)

This commit is contained in:
samsvo
2018-11-10 21:36:37 -05:00
committed by Huyen Nguyen
parent 2efe0116b5
commit 5917b2315e

View File

@ -26,7 +26,7 @@ Since ArrayList implements *List*, an ArrayList can be created using the followi
List<Integer> students = new ArrayList<>();
```
An ArrayList is dynamic, meaning it will grow in size if required and similarly shrink in size if elements are deleted from it. This is what makes it better to use than normal arrays.
An ArrayList is dynamic, meaning it will grow in size if required and similarly shrink in size if elements are deleted from it. This is what makes it more flexible than normal arrays.
**Add elements to the list**
```java