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

Why inputstreamreader is used in java?

541


What type of value does sizeof return?

530


What is the difference between sop and work instruction?

478


What are multiple inheritances? Is it supported by java?

458


What is the difference between heap and stack memory?

539






what is an objects lock and which objects have locks? : Java thread

524


What is synchronization and why is it important in java programming?

469


How do you calculate roots in java?

521


What is difference between equals and hashcode method?

566


What is a control variable example?

524


Does java linked list allow duplicates?

550


What is math floor in java?

470


What is natural ordering in java?

519


What is treeset in java?

535


What is a boolean field?

523