There are some difference key notes i conclude after working on wait and sleep, first take a look on sample…
Interrupting a thread means stopping what it is doing before it has completed its task, effectively aborting its current operation.…
While the suspend( ), resume( ), and stop( ) methods defined by Thread class seem to be a perfectly reasonable…
Inter Thread Communication is one of the distinct facility in multi threading application development of java. Inter thread communication concept…
Deadlock can occur in a situation when a thread is waiting for an object lock, that is acquired by another…
A synchronized method or block works on a given monitor. Synchronized non-static methods all synchronize on the Java instance of…
Synchronized block can be used to perform synchronization on any specific resource of the method. Suppose you have 100 lines…