File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why Some methods are in lang.object instead of lang.thread ?
 
Similar Threads
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??!!
Inorder traversal of a Binary Search Tree