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
What is the purpose of return statement?
What do you mean by Function Overloading in java?
What is the use of singleton?
What is the meaning of nullable?
How to declare objects of a class ?
Why we go for collections in java?
Can we sort hashmap in java?
Can private class be extended java?
what do you mean by java annotations?
Explain wrapper classes in java?
Can we declare an interface as final?
What is native method in java?
What are different types of inner classes ?
How does singleton class work?
Where we write javascript code in html page?