is set interface synchronized by default???

Answers were Sorted based on User's Feedback



is set interface synchronized by default???..

Answer / niranjan

No.

Is This Answer Correct ?    19 Yes 1 No

is set interface synchronized by default???..

Answer / jan

by default not possible.
But we can use syncronizedSet(obj of set)

Like Collections.synchronizedSet(set).

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More Core Java Interview Questions

What is a byte array?

0 Answers  


Which data type is a class in java?

0 Answers  


what is the JNDI?

3 Answers  


What are facelets templates?

0 Answers  


How many types of threads are there in java?

0 Answers  






Which one will take more memory: an int or integer?

0 Answers  


What is string substring?

0 Answers  


What are the differences between abstract class and interface?

0 Answers  


In the HashMap, we know the values but we dont know the key, then how can we get the key from HashMap ?????

4 Answers   Kanbay,


Can there be an abstract method without an abstract class?

0 Answers  


Is nan false?

0 Answers  


Which class has no duplicate elements?

8 Answers  


Categories