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
Why can't you declare a class as protected?
What is a byte string?
Is arraylist ordered?
Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?
what is thread? What are the high-level thread states? : Java thread
Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain
Explain jdk, jre and jvm?
What is the difference between call by reference and call by pointer?
What do you understand by the term singleton?
What is difference between static variable and global variable?
Name few "optional" classes introduced with java 8 ?
How do I convert a string to an int in java?
What 4 doubled?
What modifiers are allowed for methods in an interface?
Do we have pointers in java?