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
Which is the best sorting technique in java?
Can you explain the private protected field modifier?
How to find the index of the largest number in an arraylist java?
How to display all the prime numbers between 1 and n (n is the number, get the input from user)
How does multithreading take place on a computer with a single cpu in java programming?
What is the role of garbage collector in java?
What is a string token?
Does set allows null in java?
What is the private method modifier?
List the three steps for creating an object for a class?
What is an image buffer?
What do you mean by checked exceptions?
What do bitwise operators do?
What is classname class in java?
Why should we use singleton pattern instead of static class?