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
Give a practical example of singleton class usage?
Is java an ide?
What is the difference between applet and application?
What is the primitive type byte?
Can a lock be acquired on a class in java programming?
Can a final variable be null?
What is incompatible types in java?
Why do we override tostring method in java?
Can we inherit a class with private constructor?
How to perform merge sort in java?
What are the basic concepts of OOPS in java?
What is unicode in java?
How do you include a string in java?
What are the data types supported by java?
Can an abstract class be a final class?