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

Can a class have a static inner class?

0 Answers  


What are the 8 data types in java?

0 Answers  


If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?

0 Answers  


Is java code slower than native code?

0 Answers  


Which list does not allow duplicates in java?

0 Answers  


Explain the overview of UDP messaging.

0 Answers  


If I have 1000 objects and my requirement is to sort them quickly, then which collection would you recommend and why?

5 Answers   KPIT,


how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application

0 Answers   SAP Labs,


Why is stringbuffer not immutable?

0 Answers  


Is a copy constructor?

0 Answers  


What is an association?

0 Answers  


What are keywords and reserved words in java?

0 Answers  


Categories