InterviewSolution
Saved Bookmarks
| 1. |
How To Remove Elements From An Arraylist? |
|
Answer» ArrayList provides several methods to remove elements from the LIST. Since ArrayList internally uses array to store elements, one point to note is that when an element is removed from the List the remaining elements have to be shifted to fill the GAP created in the underlying array.
ArrayList provides several methods to remove elements from the List. Since ArrayList internally uses array to store elements, one point to note is that when an element is removed from the List the remaining elements have to be shifted to fill the gap created in the underlying array. |
|