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
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 |
Answer / chandan
Please not confuse others, if u r not sure about the exact
one.
| Is This Answer Correct ? | 0 Yes | 0 No |
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 |
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 |
In java how do we copy objects?
diffrence b\w println() and printf()
What are invisible components?.
Explain the difference between protected and default access.
What is final keyword in java?
Is it possible to do method overloading and overriding at a time
What is dynamic binding(late binding)?
Can constructor be protected in java?
how to write a server program and sending the mails to the server using smtp protocol please help me
What are the main differences between notify and notifyAll in Java?
What is the difference between replace and replace all?
what is interface in java? Explain