is set interface synchronized by default???
Answers were Sorted based on User's Feedback
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 |
Difference between a process and a program?
"we cannot create an object of interface but we can create a variable of it".diacuss the statement with the help of an example.
What are the Static and Dynamic Variables? Differentiate them.
What is the difference between pass by reference and pass by pointer?
What are the main differences between the java platform and other platforms?
What do you mean by platform independence of Java?
Which method will get invoked first in a stand alone application?
describe synchronization in respect to multithreading? : Java thread
How do you add spaces in java?
Can a final variable be null?
What are Encapsulation, Polymorphism and Inheritance?
How to deprecate a method? Show it with proper example. Plz give the answer of this.Thanx in advance. mail me: tanzeem.akhtar@gmail.com