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 |
how session will be expired ?
What is object
Why is the main method declared static?
Explain different data types in Java.
What is break and continue statement?
What is a local block?
What is a singleton class in Java? And How to implement a singleton class?
What do you mean by singleton class in java?
What are voids?
Does treeset allow null in java?
Is main is a keyword?
What is parsing and its types?