How to make a method thread safe without using synchronized
keyword?
Answer Posted / aravinda reddy
Oneway of doing By making all the variables and methods in
the class as final.
Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
How many bytes are a float?
What is r * in math?
What is hashset in java?
how to create multithreaded program? Explain different ways of using thread? : Java thread
What is the difference between heap memory and stack memory?
What is the java virtual machine?
What are kinds of processors?
Which non-unicode letter characters may be used as the first character of an identifier?
How do you declare an empty string?
How is Object Oriented Programming different from Procedure Oriented Programming?
Is it possible to use Semaphore/ Mutex in an Interrupt Handler?
What is core java used for?
Is null function in java?
Explain the importance of finalize() method.
What are mutable classes?