Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How can I become a good programmer?

0 Answers  


How does hashset works in java?

0 Answers  


What is string immutability?

0 Answers  


what state does a thread enter when it terminates its processing? : Java thread

0 Answers  


What are inbuilt functions in java?

0 Answers  


Explain scope or life time of local variables in java?

0 Answers  


What is canonical name in java?

0 Answers  


What is difference between static and abstract class?

0 Answers  


What is the purpose of final keyword and when to use it?

0 Answers  


What is stored procedure. How do you create stored procedure ?

0 Answers   GE,


Which of the following classes will have more memory allocated?

0 Answers  


Can we have more than one package statement in source file ?

0 Answers  


Categories