Question: Java : Collections Which of the below statemenss are true about ArrayList and Vector in java ? Vector can be resized whkl Arrayust cannot be
Java : Collections
Which of the below statemenss are true about ArrayList and Vector in java
Vector can be resized whkl Arrayust cannot be
Vecter is synchronized while Arraycist is net
Arraydists can grow but canpot shrink in slae, while Vecter can both grow and shrink
Vectors allow dupicate values while Arraytist doesnec.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
