Question: 16. Java: Collections Which of the statements is true about ArrayList and Vector in Java? Pick ONE option Vector can be resized while ArrayList cannot
16. Java: Collections Which of the statements is true about ArrayList and Vector in Java? Pick ONE option Vector can be resized while ArrayList cannot be Vector is synchronized while ArrayList is not ArrayLists can grow but cannot shrink in size, while Vector can both grow and shrink Vectors allow duplicate values while ArrayList doesnot
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
