What is DeadLock and difference between DeadLock and Starvation?
What is DeadLock and difference between DeadLock and Starvation? If two threads are waiting for each other forever such type of infinite waiting is called deadlock. Synchronized is the only reason for deadlock situation hence while using synchronized keyword we have to take special care. There is no resolution technique . . . Read more