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 Font and FontMetrics classes?
What is mnemonic in assembly language?
Variables used in a switch statement can be used with which datatypes?
What are the advantages of unicode?
What do u mean by wrapper Class? What do u mean by Jvm... How do u change JVM for other OS? Or No need to Change ...? its like tricky
What is multi-catch block in java?
How to sort array of 0 and 1 in java?
List types of storage classes in java?
Why set do not allow duplicates in java?
How Array List can be Serialized.
What are synchronized blocks in java?
Why method overloading and method overriding required in java?