What is Vector?Can you elaborate how Vector is Thread safe?
Answers were Sorted based on User's Feedback
Answer / srilatha
Vector is synchronized and thread safe
it allows one thread can access at a time
| Is This Answer Correct ? | 17 Yes | 1 No |
Answer / kk
Vector is a growable array.
The methods in Vector class are synchronized which makes
vector thread safe.
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / aruna
Vector is a class in collection framework which omplements
list interface.It is one of the legacy classes in
collection FW.As all the methods in the vector class are
synchronised it is thread safe.
| Is This Answer Correct ? | 9 Yes | 2 No |
Why are strings immutable in Java?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
How does Vector implement synchronization?
what is translator and it types
how to connect one jsp page to another jsp page????
what is servlet enginee?
Why singleton is not thread safe?
what is the difference between static block and static method
What is deserialization?
what is object slice?
what is for datainputstream?
Can It is possible to synchronize the constructor of a Java Class?