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

Can we have static methods in an interface?

1058


How to display all the prime numbers between 1 and 100

1016


What is difference between c++ and java ?

1128


What is the Difference between Final Class && Abstract Class?

1077


Write a program to calculate factorial in java?

1009


Write a java program that prints all the values given at command-line.

1014


How do you do absolute value in java?

985


What is a variable and constant?

1005


Which collection is best for sorting in java?

1128


Is passing by reference faster?

996


Lowest Common ancestor in a Binary Search Tree and Binary Tree.

933


How is it possible in java programming for two string objects with identical values not to be equal under the == operator?

1028


What is nan in java?

1000


What is the use of :: in java?

1014


What is primitive array?

903