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


Please Help Members By Posting Answers For Below Questions

What is the purpose of a default constructor?

587


How do you create a reference in java?

519


what are the disadvantages of indexes in oracle?

1873


What is the full name of java?

577


What is sorting in java?

546






what is abstract class in Java?

661


Can a final variable be manipulated in java?

541


What is the integer of 16?

543


What is floating data type?

549


What is difference between synchronize and concurrent collection in java?

528


What is static synchronization?

581


How does linkedhashmap work in java?

527


How does enum work in java?

556


How does split work in java?

537


What is the basic concepts of OOPS?

699