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 |
How many ways can an argument be passed to a subroutine and explain them?
how to identify duplicate values in arraylist
Is java 9 released?
What is a boolean structure?
Is multiple inheritance allowed in Java? Why ?
What is the difference between choice and list?
How do you join strings in java?
What is object-oriented programming?
Why is multiple inheritance not supported in java?
What are the object and class classes used for?
How many types of literals are there in JAVA?
What is array command?