What is Vector?Can you elaborate how Vector is Thread safe?
Answer Posted / kk
Vector is a growable array.
The methods in Vector class are synchronized which makes
vector thread safe.
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
Why string is not a wrapper class?
What is java autoboxing?
What is passing by reference in java?
What is the default value of float and double datatype in java?
What is the longest unicode character?
What does @param args mean in java?
What does three dots mean in java?
What is boolean flag in java?
What is type safety in java?
Can we convert stringbuilder to string in java?
What is the purpose of lambda expressions?
Why do we declare a class static?
What is charat ()?
Explain Basics of OOP Language in java
Explain method overloading?