java arraylist

What is difference between Arraylist and Vector in java?

Difference between Arraylist and Vector in java in Java Collections. I’ll be listing 4 important differences between java arraylist and vector data structures. Java ArrayList Vs Vector ArrayList is not thread safe as its methods are not synchronized, whereas Vector’s methods are synchronized. So, in multithreading environment, we can use Vector without making any extra […]

Scroll to top