This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
 
subject: Why Some methods are in lang.object instead of lang.thread ?
 
Similar Threads
Inorder traversal of a Binary Search Tree
Static varibles Vs Instance variables
primitive types not castable as lang.Object
Unable to convert lang.Object to int [solved]
> cannot be applied to int,Java,Lang.Object??!!