I have a Vector A on Thread 1, I also have a Vector B on Thread 2.

Is it safe to write to vectors A and B at the same time, given they are different instantiated objects but of the same type?

If not, why is this different from the writing to an int c on Thread 1 and an int d on Thread 2?