Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 access modifiers can be used for methods?

1047


How do you add an element to a set in java?

977


What is getclass () getname () in java?

1097


difference between byte stream class and character stream class?

4487


Give an example of call be reference significance.

986


If system.exit (0); is written at the end of the try block, will the finally block still execute?

1040


If an application has multiple classes in it, is it okay to have a main method in more than one class?

970


Is java a digit method?

949


What is stringwriter?

904


What are the properties of thread?

864


What is matcher in java?

936


I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?

956


Can we overload the methods by making them static?

947


What are the two environment variables that must be set in order to run any java programs?

908


If goto and const is reserve words than why it is not work in java?

1916