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 is mean by exception?
write SQL command for table employee where print first name or last name start like "A" and who is working in domain(angular js,java,dotnet)
what is difference between Exception and Error?
What is communist flag?
What types of inheritance does Java support?
What are the benefits of operations?
What is the set interface in java programming?
List down the methods and interfaces of collection class in java.
can any body body expalin best definitions & best real time exaples for opps concepts.
What do you mean by aggregation?
What is the difference between variable declaration and variable initialization?
Hi Friends, can u give me Real Time example for interface and abstract class.(With Banking Example)