jQuery in Action, 2nd edition*
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 Android Security Essentials Live Lessons this week in the Android 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
 
It is sorta covered in the JavaRanch Style Guide.
 
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??!!