FileDocCategorySizeDatePackage
NotifyError.javaAPI DocExample2556Sun Feb 08 21:34:08 GMT 2004None

NotifyError

public class NotifyError extends Object
Show WRONG use of notify()

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

		Object o = new Object();
		o.notifyAll();	// NOT OWNER OF o's MONITOR. BAD. DO NOT DO THIS.