Index Page : Link
Donate : Link
Medium Link : Link
Applications : Link
IE : InterruptedException
| Property | yield() | join() | sleep() |
| pupose | pause execution and give chance to other some priority thread | wait for other thread to complete | if thread don’t want to perform any operation |
| is it overloaded (methods) | No | Yes | Yes |
| is it final | No | Yes | No |
| is it throw IE | No | Yes | Yes |
| is it Native | Yes | No | – sleep(ml) is native – sleep(ml, n) is not |
| is it static | Yes | No | Yes |


2 thoughts on “Java – Difference/Comparison Table for yield(), join() and sleep() | Code Factory”