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
When to use runnable interface vs thread class in java?
Can we convert list to set in java?
What does null mean in java?
What is the basic concept of java?
What is set and get methods in java?
What is a two-pass assembler?
What is the difference between replace and replace all?
Explain spliterator in java8?
What is the method to declare member of a class static?
How to sort an array from smallest to largest java?
how to run ecllipse with jettyserver for windows environment using batch file
What are the principle concepts of oops?
Explain the importance of throws keyword in java?
Explain the difference between string, stringbuffer and stringbuilder in java?
Do extraneous variables affect validity?