What is Vector?Can you elaborate how Vector is Thread safe?
Answer Posted / 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 |
Post New Answer View All Answers
Is it possible to compare various strings with the help of == operator? What are the risks involved?
Which object oriented concept is achieved by using overloading and overriding?
Can we override constructor?
How do you represent a space in regex java?
What does flagged out mean?
What are data types in oop?
What is callable java?
What is the reflection?
Explain how to force the garbage collection in java.
What are aggregate functions explain with examples?
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
What does it mean that a class or member is final?
What are thread priorities and importance of thread priorities in java?
What do you mean by multithreaded program?
what is synchronization and why is it important? : Java thread