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 the different types of data structures in java?
Implement a stack with push (), pop() and min() in O(1) time.
What do you understand by copy constructor in java?
What is the difference between object oriented programming language and object based programming language?
difference between byte stream class and character stream class?
Explain with example the concept of constant variable in java.
Why can't we make jsp as a controller and action servlet in struts?
What are abstract classes and anonymous classes?
0 Answers Flextronics, Thomson Reuters, Virtusa,
In a my eclipse editor if i want to switch from jdk 1.4 to jdk 1.6 how to do that???? Initially i have jdk1.4
How do you write a conditional statement?
What is locale in java?
class test { private static void main(String []adsf) { } } explain me that the above code is error or exception