Why the wait(),notify() should not avaialable in Thread class.

Why the wait(),notify() should not avaialable in Thread class.

wait(),notify(),notifyall() is available in Object class.We are using those method in Threading then why don't they put the 3 methods in thread class.

View Answers









Related Tutorials/Questions & Answers:

Ads