+ 2

Are vectors better than arrays?

22nd Feb 2019, 9:51 AM
Sandeep
Sandeep - avatar
3 ответов
+ 2
Dont think so cmon. But, if you need vector - use it, if no - use array. For different task different solution
24th Feb 2019, 6:59 AM
Shadowside
Shadowside - avatar
+ 2
If you can't use Array use ArrayList. Forget about Vector.
6th Mar 2019, 10:29 PM
M_N
0
vectors are dynamically sized, which is a major advantage over arrays. it always depends on what you want to do. if you can't use arrays to solve a problem then use vectors.
22nd Feb 2019, 10:36 AM
Bahhaⵣ
Bahhaⵣ - avatar