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 are the important features of Java 9 release?
What happens when a thrown exception is not handled?
What is time complexity java?
Explain the difference between private, public, package and protected in java?
why we use merge option in hybernate pls give a ex snippet
What is qms certification?
What are the kinds of polymorphism?
If an application has multiple classes in it, is it okay to have a main method in more than one class?
what is difference between equals and ==?
How do you sort a string in alphabetical order in java?
What are static variables and functions?
how does multithreading take place on a computer with a single cpu? : Java thread
What does %d do in java?
What is size of int in java?
What is the difference between class forname and new?