The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
June 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

answer

Posted by Suryamani Kar on June 27, 2000 at 1:00 AM

it is a good idea to keep these functions in objects becz all the classes inherits from object class. basically all objects maintains a thread pool and it calls some jni function. for the only reason it is inside object class. you can or canot override it.
Hope things are clear.


> Hi Javamates,
> I have one question to ask you people.
> In the class "Thread" all the relevant methods are there except
> "wait()and notify()".These methods are present in class "Object"
> I would like to know why "sun people" made this type of arrangement.






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us