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
How will you get the platform dependent values like line separator, path separator, etc., ?
What are the differences between string, stringbuffer and stringbuilder?
what is abstract class in Java?
What is a function in java?
Can a string be null?
Write a program to find maximum and minimum number in array?
Where are local variables stored?
If two threads have same priority which thread will be executed first ?
What java is used for?
What is the main purpose of java?
what is mutual exclusion? : Java thread
What does java edition mean?
What is locale?
What are the different types of collections in java?
How big is a gigabyte?