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 difference between char array and string?
Are variables stored in ram?
What is the difference between reader/writer and inputstream/output stream?
What is final access modifier in java?
What is a ternary operator in java?
List the different types of classloaders in java.
What is jit compiler ?
What are the advantages of passing this into a method instead of the current class object itself?
What is better- service oriented or batch oriented solutions?
What do negative exponents mean?
What is meant by main method?
Which is bigger double or float?
What is the point of polymorphism java?
What are java threads?
What do you understand by java virtual machine?