what is vector in data structure in java code example
Example: what is vector in java
Array based data structure/Internally uses
dynamic array.
-It is synchronized - thread safe.
-It is mostly used in multi-threaded environment.
-It is much slower than ArrayList because it is
thread-safe