What is Vector?Can you elaborate how Vector is Thread safe?
Answer Posted / srilatha
Vector is synchronized and thread safe
it allows one thread can access at a time
| Is This Answer Correct ? | 17 Yes | 1 No |
Post New Answer View All Answers
How to find the given number is a prime number or not by getting input from the user
Is it possible for a yielded thread to get chance for its execution again?
What does yield method of the thread class do?
How does hashset work in java?
Can we use both this () and super () in a constructor?
how can you catch multiple exceptions in java?
What's the default access specifier for variables and methods of a class?
What are user defined exceptions?
What are the approaches that you will follow for making a program very efficient?
What is replaceall in java?
What are different data structures in java?
Can a set contain duplicates?
What is another word for methodology?
If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?
In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?