Open jdiaz216 opened 7 months ago
This operation can be dangerous and lead to errors, since every time an element is removed, all the elements are shifted to the left, causing higher indexes to be empty therefore will produce an IndexOutOfBoundsException if retrieved.
This operation can be dangerous and lead to errors, since every time an element is removed, all the elements are shifted to the left, causing higher indexes to be empty therefore will produce an IndexOutOfBoundsException if retrieved.