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

Answers were Sorted based on User's Feedback



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

Answer / srikanth

IN VECTOR CLASS ALL METHODS ARE SYNCHRONIZED.SO VECTOR
CLASS IS A THREAD SAFE CLASS. Like that Hashtable.

http://www.docjar.com/html/api/java/util/ArrayList.java.html

http://www.docjar.com/html/api/java/util/Vector.java.html

http://www.docjar.com/html/api/java/util/Hashtable.java.html

Is This Answer Correct ?    0 Yes 0 No

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

Answer / chandan

Please not confuse others, if u r not sure about the exact
one.

Is This Answer Correct ?    0 Yes 0 No

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

Answer / arjunkumar

Mr Anonymous, check the answers above who has given all
options as ansewers. Is it rite for u??

Is This Answer Correct ?    0 Yes 1 No

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

Answer / divya

Hai, friend Exactly your false . give me 4 options in the
not thread so,ArrayList,Vector,HashTable no answers this is
Ans:None

Is This Answer Correct ?    0 Yes 1 No

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

Answer / divya.c

b)Vector

Is This Answer Correct ?    3 Yes 6 No

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

Answer / divya.c

d)None

Is This Answer Correct ?    3 Yes 7 No

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

Answer / divya.c

c)HashTable

Is This Answer Correct ?    1 Yes 6 No

Post New Answer

More Core Java Interview Questions

Can you make a constructor final?

0 Answers  


difference between java ,c#&java,c++

3 Answers  


What is the purpose of skeleton and stub?

0 Answers  


Does treeset use compareto?

0 Answers  


For which statements we use a label?

3 Answers   Wipro,


Explain when noclassdeffounderror will be raised ?

0 Answers  


What is a java developer salary?

0 Answers  


What is identifier in java?

0 Answers  


what are the methods of an object class?

3 Answers  


What is a local block?

0 Answers   Global Logic,


Why singleton class is used in java?

0 Answers  


What is the superclass of exception?

3 Answers  


Categories