which of tha following is not a thread safe class?
a) ArrayList b)Vector c)HashTable d)None

Answer Posted / sai

ArrayList is not Thread Safe Class.Because it is not
Synchronized.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is annotation in java?

578


How can we use primitive data types as objects?

562


What does a method signature consist of?

513


How can you add and remove nodes in jtree?

617


Why do we need array in java?

536






why we use merge option in hybernate pls give a ex snippet

1464


What is meant by binding in rmi?

552


can java object be locked down for exclusive use by a given thread? Or what happens when a thread cannot acquire a lock on an object? : Java thread

540


what happens when a thread cannot acquire a lock on an object? : Java thread

545


What is string made of?

531


What is the size of string?

566


Can we write class inside a class in java?

553


When would you use a static class?

589


what is the volatile modifier for? : Java thread

523


Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?

7425