aspose file tools
The moose likes Java in General and the fly likes Why Some methods are in lang.object instead of lang.thread ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Why Some methods are in lang.object instead of lang.thread ?" Watch "Why Some methods are in lang.object instead of lang.thread ?" New topic
Author

Why Some methods are in lang.object instead of lang.thread ?

vijin das
Ranch Hand

Joined: Jun 07, 2010
Posts: 129

Why Some Thread class related methods like notify() and notifyAll() are in lang.Object instead of lang.Thread ??

I need a reasonable answer ??


VIJINDAS
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
See http://faq.javaranch.com/java/WaitAndNotifyInObjectClass
 
Consider Paul's rocket mass heater.
 
subject: Why Some methods are in lang.object instead of lang.thread ?