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 is compiler and what its output.

1152


How will you add panel to a frame?

1110


Can a string be null?

984


How do you check if a string contains only numeric digits?

1117


Why hashset is used in java?

1068


how can you catch multiple exceptions in java?

1015


Is there any case when finally will not be executed?

950


Define how objects are stored in java?

1059


What is a conditional statement explain with example?

1016


How to restrict a member of a class from inheriting by its sub classes?

1349


What happens if I remove static from main method?

1009


How to provide security in java

2276


Explain about map interface in java?

994


What do you mean by aggregation?

1318


What is the static field modifier?

1128