which of tha following is not a thread safe class?
a) ArrayList b)Vector c)HashTable d)None
Answer Posted / samir vasani
a)ArrayList
Because ArrayList is not a synchronized ,means it is not a
thread safe
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Can we declare the main method of our class as private?
What are the main differences between the java platform and other platforms?
What are the parts of methodology?
Does substring create a new object?
You're given a Boolean 2D matrix, can you find the number of islands?
Is java 11 paid version?
What is incompatible types in java?
How can you add and remove nodes in jtree?
What are the benefits of immutable objects?
What is bifunction in java?
how can you take care of mutual exclusion using java threads? : Java thread
What is purpose of applet programming?
How do you print array in java?
What are default methods ?
What is the purpose of a parameter?