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...

What are the two ways you can synchronize a block of code?

Answer Posted / popol83

I think using mutex is the second way.
Because synchronizing an object is useless

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are java packages?

1029


How to change the priority of thread or how to set the priority of thread?

1037


Is treeset sorted in java?

986


What is pojo class in java?

1094


Difference between notify() method and notifyall() method in java?

968


Is namespace same as package in java?

982


How do you delete a list in java?

946


What is null object in java?

1013


What loop means?

953


Explain restrictions for using anonymous inner classes?

1090


What are the new features in java 8?

1018


Why does my function print none?

949


Why stringbuilder is not thread safe?

1027


What is the difference between jfc & wfc?

1065


What is application tier?

1120