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

Answer Posted / sai

ArrayList is not Thread Safe Class.Because it is not
Synchronized.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different data types in java?

734


What is the intersection and union methods?

775


What is difference in between java class and bean?

783


Difference between concurrent hashmap and hashtable and collections

784


Explain when we should make an instance variable private.

806


List some features of the abstract class.

777


What is the symbol for average?

706


How many bits are in a sentence?

788


Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).

2433


Can we define static methods inside interface?

718


What is string args [] in java?

755


What is api in java?

744


What is array in java?

738


What is length in java?

755


Explain the usage of this with constructors?

747