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 are interfaces?
When should you make a function static?
Is Java is 100% pure OOPS? Explain?
What must a class do to implement an interface in java programming?
what is comparable and comparator interface?
How do you compare values in java?
Can you call a method in a method?
What 4 doubled?
What is your platform?s default character encoding and how to know this?
Explain java heap space and garbage collection?
Explain Event handling in AWT?
What is a parameter in simple terms?