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 |
What is casting?
How many return statement are allowed in a function?
Can you explain the private protected field modifier?
Explain what do you mean by functional overloading in java?
What is the primary benefit of encapsulation?
Can we force the garbage collection to run?
How to print an arraylist in java?
List out benefits of object oriented programming language?
Can we sort hashset in java?
What differences exist between iterator and listiterator?
What is Yield() method when we r using this ? tell exactly
What is string variable?