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

Answer Posted / srilatha

Vector is synchronized and thread safe
it allows one thread can access at a time

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between graph and tree?

837


Explain importance of throws keyword in java?

753


What is a condition in java?

692


What is passing by reference in java?

738


What does jre stand for?

789


How an object is serialized in java?

716


Is java code slower than native code?

741


What is the difference between iterator and list iterator?

723


What are the restrictions imposed by a Security Manager on Applets?.

2274


What is the difference between array list and vector in java?

700


what is a green thread? : Java thread

773


How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?

1005


What is the maximum size of arraylist in java?

688


Why do we use regex?

737


What is the difference between a local variable and an instance variable?

735