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

Answer Posted / samir vasani

a)ArrayList
Because ArrayList is not a synchronized ,means it is not a
thread safe

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1466


What are the parts of methodology?

553


Describe the term diamond problem.

579


Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?

578


What is a percentage sign called?

623






What is linked hashset and its features?

556


What is a linkedhashmap java?

563


Differentiate between stringbuffer and stringbuilder in java.

559


Highest level event class of the event-delegation model?

3507


What is a wrapper method?

541


How do you execute a thread in java?

512


What are the two types of java programming?

541


What is array class in java?

602


What are the two parts of a conditional statement?

520


extending thread class or implementing runnable interface. Which is better? : Java thread

571