CSS font stacks & developer FAQs with Web standards

Premium service benefits

Your premium content subscription is a single payment that gives you:

  • Private login to full answers on your chosen subject
  • All future FAQ updates for your topic area
  • Optional email notification of new items
  • Priority attention on follow-up questions
Site navigation below

One of hundreds of answers available with our premium content service.

Part answer, see below for more

A: The wait() method is defined in the Object class, which is the ultimate superclass of all others. So the Thread class and any Runnable implementation inherit this method from Object.

The wait() method is normally called on an object in a multi-threaded program to allow other threads to run. The method should only be called by a thread that has ownership of the object's monitor, which usually means it is in a synchronized method or statement block.

… full answer hidden

Click for full answers

Premium members click below for full answer
Which class is the wait() method defined in?

Home · Web fonts · Font stacks · FAQs · Java · CSS · Javascript · HTML · Site manager