which of tha following is not a thread safe class?
a) ArrayList b)Vector c)HashTable d)None
Answer Posted / gunjan
ArrayList is,unsynchronized, not thread safe, vectors r
thread safe and synchronized
if u want to make Arraylist as thread safe, should use
Collections class synchronizedList(List) method
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
How many characters is 16 bytes?
What does java se mean?
How can you read content from file in java?
What is collection class in java? List down its methods and interfaces.
Is a method a function?
What is the use of join method?
What is final method in java?
What is the purpose of lambda expressions?
What about features of local inner class?
What is formatted output?
How many bits is a boolean?
What are java annotations?
What is the full form of jpeg?
What is ph and buffers?
What is a condition in programming?