Saved Bookmarks
| 1. |
Differentiate between the Vector and ArrayList collections in Java. |
|||||||||
|
Answer» ArrayList and Vector collection classes both implement the List interface and are derived from AbstractList. Both these classes are index-based, meaning objects can be retrieved from the collection based on the index using the get(index) method.
|
||||||||||