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 do we need to use internal iteration? When do we need to use external iteration?
What is the simpletimezone class in java programming?
What will be the initial value of an object reference which is defined as an instance variable?
What is super keyword explain with example?
How do you join strings in java?
What is indexof in java?
How long will it take to learn java?
How do you implement singleton class?
What are controls and their different types in awt?
How do I start learning java?
What is the locale class in java programming?
What are packages in java?
What is treeset in java collection?
Are static members inherited to sub classes?
What is derived datatype?