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

Can you call a method on a null object?

559


Difference difference paint() and paintcomponent()?

526


What are JVM.JRE, J2EE, JNI?

682


Can I extend singleton class in java?

618


Why is stringbuffer called mutable?

559






Why runnable interface is used in java?

564


Why does java not allow multiple public classes in a java file ?

3427


Why Java is not pure Object Oriented language?

637


Can we change the value of static variable?

489


What technique can be employed to compare two strings?

567


What is difference between arraylist and list in java?

576


Can we use catch statement for checked exceptions?

508


Is java a utf 8 string?

524


Can array grow dynamically in java?

516


What is polymorphism and what are the types of it?

494