How to make a method thread safe without using synchronized
keyword?
Answer Posted / rajib
by implementing SingleThreadModel interface.
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is sortedmap interface?
What do you mean by thread safe?
What is default exception handling in java?
What is a qms manual?
Explain about anonymous inner classes in java?
How to sort double array in java?
What is the difference between a window and a frame in java programming?
What will be the initial value of an object reference which is defined as an instance variable?
What is a lambda expression ? What's its use ?
How do constructors use this() and super()?
What is functional interface in javatpoint?
Does substring create a new object?
Why is an interface be able to extend more than one interface but a class can’t extend more than one class?
Is linked list a linear or non-linear data structure?
Why is the main method static?