which of tha following is not a thread safe class?
a) ArrayList b)Vector c)HashTable d)None
Answer Posted / gunjan
ArrayList is,unsynchronized, not thread safe, vectors r
thread safe and synchronized
if u want to make Arraylist as thread safe, should use
Collections class synchronizedList(List) method
Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
What is the difference between compare and compareto in java?
I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com
Who found java?
What is flag in python?
How many digits can a float hold?
What is difference between throw and throws ?
What is the difference between access specifiers and access modifiers in java? 16
What is the intersection and union methods?
Define how objects are stored in java?
What is a website container?
Explain the use of sublass in a java program?
Which is better ascii or unicode?
Write code of any action class?
Give few examples of final classes defined in Java API?
What is an example of procedure?