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
What is null object in java?
Is java a super set of javascript?
What are the classes of java?
Can an abstract class be a final class?
Explain java coding standards for methods?
How do you check if an arraylist is not empty?
What is treemap in java?
Why to use nested classes in java? (Or) what is the purpose of nested class in java?
Considering notepad/ie or any other thing as process, what will happen if you start notepad or ie 3 times? Where 3 processes are started or 3 threads are started?
What does I ++ mean?
What is the use of default method in interface in java? Explain
What is sortedset in java?
Difference between error and exception
What is charat ()?
How many types of parsers are there?