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


Please Help Members By Posting Answers For Below Questions

what are the disadvantages of indexes in oracle?

1867


What is canonical name in java?

624


How do you implement tree mirroring in java?

597


What is the difference between variable declaration and variable initialization?

509


What is static block?

593






Can we override static methods in java?

591


What super () does in java?

486


What is charat java?

542


Can the interface be final?

582


Can we serialize static variables in java?

655


What is the difference between the ">>" and " >>>" operators in java?

509


What is a stringbuffer?

513


What is integer parseint?

553


What is meant by class loader? How many types are there?

676


What are the access modifiers available in java?

566