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
In case of inheritance what is the execution order of constructor and destructor?
What does indexof return in java?
Is char * a string?
what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????
What is a map? What are the implementations of map?
Explain wrapper classes in java?
What is the difference between class & object?
How does hashset work in java?
What is double checked locking in singleton?
What is difference between add() and addelement() in vector?
Are there structures in java?
What is use of map in java?
Which class should you use to obtain design information about an object in java programming?
What is an example of a constant variable?
What are the topics in core java?