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 will you reverse a singly-link list?
What are desktop procedures?
How many functional interfaces does java 8 have?
What does the “static” keyword mean?
Does java vector allow null?
what do you mean by stream pipelining in java 8? Explain
Which of the classes will have more memory allocated?
What are local variables?
Is static a keyword in java?
What is local declaration?
What is oop in java?
How can constructor chaining be done using this keyword?
What are 5 boolean operators?
How to perform merge sort in java?
How do you implement polymorphism in our day to day life?