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 do you understand by soft reference?
What advantage does an entity bean have over a sessin bean?
What is a method type?
How can an object be unreferenced?
Why do we use regex?
Is static a keyword in java?
How do you sort in descending order in java using collections sort?
Explain about strings in java?
What is the vector class in java programming?
why the abstract class has default constructor?
Does java linked list allow duplicates?
What are the three types of design patterns?