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 null data type?

1 Answers  


When is the garbage collection used in Java?

1 Answers   BirlaSoft,


C and C++ has constructors and distructors, why does Java does not have distructors?

1 Answers   T3 Softwares,


Can I extend singleton class in java?

1 Answers  


Why do we use threads in java?

1 Answers  


What does next mean in java?

1 Answers  


Explain the difference between runnable and callable interface in java?

1 Answers  


How do you set security in applets?

1 Answers   Wipro,


Can we declare an array without size in java?

1 Answers  


Define inheritance with reference to java.

1 Answers  


What is polymorphism java example?

1 Answers  


What are the differences between this and super keyword?

1 Answers  


Categories