1.源码 wait() notify() notifyAll()都是Object类中方法.源码如下所示: public final native void notify(); public final native void notifyAll(); public final native void wait(long timeout) throws InterruptedException; public final void wait() throws InterruptedExceptio…