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 create constructor in abstract class ?

1113


Can we change the value of static variable?

1014


If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?

1090


Can interface be private in java?

1068


How can we make a class singleton?

1126


What are three types of loops in java?

1197


Can we override constructors?

1052


What’s the difference between constructors and other methods?

1050


What is difference between final and finally in java?

1145


What is 16 bits called?

986


What is nan in java?

1056


What are default methods ?

1107


What are the advantages of packages in java?

1740


What is array list in java?

1128


Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.

1372