How does Vector implement synchronization?

Answer Posted / srinu

By default Vector class are Thread safe,thus all methods of
vector class are synchronized

Is This Answer Correct ?    1 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of inner classes (non-static nested class) used in java?

556


What are the benefits of operations in java?

489


String class is defined under which package in java?

616


What is the difference between a method and a function in alice?

572


What is getclass () getname () in java?

671






How list contains works in java?

548


Define jit compiler?

651


What is the null?

533


Can list have duplicates in java?

519


Does java allow overriding static methods ?

622


State the difference between strings and arrays.

593


What is meant by memory leak?

532


What is the difference between equals() and == in java?

519


How to declare an arraylist in java?

476


How do you calculate square roots?

567