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 is deadlock and how to avoid this?

Answer Posted / priyavarzhni

Deadlock is avoided by synchronising the code.

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what happens when a thread cannot acquire a lock on an object? : Java thread

1049


What is annotation in java?

1052


Why collection doesn’t extend cloneable and serializable interfaces?

1104


What is java volatile?

1053


What is t type java?

1064


What do you mean by collectors in java 8?

935


What is better - 'bit-shift a value' or 'multiply by 2'?

1192


What are variable names?

979


What is the maximum size of a string in java?

1103


Do I need to import java.lang package any time? Why?

1388


Why is stringbuffer thread safe?

1048


How many tetrahedral voids are there in bcc?

1097


What is the difference between a local variable and an instance variable?

1109


In how many ways we can do synchronization in java?

969


What is treemap in java?

947