How does Vector implement synchronization?

Answer Posted / bln

Vector class by defualt is thread safe, thus all methods of
Vector class are synchronized.

Is This Answer Correct ?    4 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a class be a super class and a sub-class at the same time? Give example.

787


What about static nested classes in java?

583


Is final static java?

540


Is an integer an object?

511


What is early binding and late binding in java?

589






What is a variable declaration?

515


Explain creating threads by extending thread class ?

572


Explain parallel processing in java8?

629


What is java command?

562


What is arrays aslist in java?

511


What is local declaration?

485


Explain about strings in java?

610


What is static method with example?

609


What is an interface in java?

555


What are different ways of object creation in java ?

565