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
what is enumset?
Explain about class in java?
How to check if linked list contains loop in java?
what is use of functional interface in java 8?
Why singleton is not thread safe?
What are java annotations?
Is char a method in java?
If I only change the return type, does the method become overloaded?
Explain numeric promotion?
Is it necessary for the port addresses to be unique? Explain with reason.
How to store image in arraylist in java?
Difference between class#getinstance() and new operator ?
Can we use return in constructor?
List any five features of java?
How does callback work in java?