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 |
give an example for encapsulation?
What are java packages? What's the significance of packages?
What is the difference between the size and capacity of a vector?
Can an abstract class have a constructor?
What is the difference between char and char *?
What modifiers are used with an inner class which is a member of an outerclass?
What is the difference between Trusted and Untrusted Applet ?
What is your platform’s default character encoding?
According to java operator precedence, which operator is considered to be with highest precedence?
How do you empty a list in java?
Can we make the abstract methods static in java?
What are the data types supported by java?