Which of the following statements are true about Vector and ArrayList?
Each correct answer represents a complete solution. Choose all that apply.
A.
ArrayList is synchronized and Vector is not synchronized.
B.
Each vector tries to optimize storage management by maintaining a capacity and a
capacityIncrement.
C.
If multiple threads are trying to access an ArrayList instance concurrently, and at least one of the threads modifies the list structurally, it must be synchronized externally.
D.
Vector is an implementation of the List interface and implements all optional list operations, and permits all elements, excluding null.
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit