What is Vector?Can you elaborate how Vector is Thread safe?

Answer Posted / kk

Vector is a growable array.

The methods in Vector class are synchronized which makes
vector thread safe.

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is object a data type?

562


What is the difference between Error, defect,fault, failure and mistake?

661


What is the null?

541


What is private protected in java?

550


What is the function of java?

517






Is java map thread safe?

495


What is gui programming?

523


why java does not support unsigned keyword?

4262


What are the types of collections in java?

541


Explain reverse a linked list recursive java solution?

533


What is a locale?

696


What is a static method in java?

540


Can we have more than one package statement in source file ?

590


What are the differences between the constructors and methods?

582


How is the marker interface used in Java?

612