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
What is the difference between static class and normal class?
What is a concrete classes? Is Java object class is concrete class?
What is the difference between static (class) method and instance method?
How to change value in arraylist java?
Do you know why doesn't the java library use a randomized version of quicksort?
What is integers and example?
What are the two basic ways in which classes that can be run as threads may be defined?
what are the high-level thread states? : Java thread
What is the default value of local and global variables?
Why is java logo a cup of coffee?
Which method cannot be overridden in java?
What is polymorphism java example?
What is the purpose of declaring a variable as final?
What is the purpose of object oriented programming?
what is a thread pool in java and why is it used?