The Artima Developer Community
Sponsored Link

Java Answers Forum
Why Object class has wait(), notify() & notifyall() method

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Amit

Posts: 23
Nickname: amitactsh
Registered: Nov, 2002

Why Object class has wait(), notify() & notifyall() method Posted: Apr 6, 2005 9:41 PM
Reply to this message Reply
Advertisement
Hi ,
We all know that Object is the base class for all other classes. This class contains wait(), notify() and notifyAll() methods in it.

My question is that if these method are related with multithreading then what is the need to put them inside Object class.

Topic: Java Auto-discovery capability for J2EE Previous Topic   Next Topic Topic: Sending mails with attachements.

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use