could someone please tell me how the following methods can be invoked ?
BY DIRECT, CLASS OR INSTANCE Or other methods
eg.
-----------------
class MyThread extends
Thread {}
MyThread t = new MyThread();
1] MyThread.yield(),2] yield(),3] t.yield
---------------
1. yield
2. sleep
3.wait
4.interrupt
5.notify
6.notifyAll
thanks, please clarify if these can be called by other methods, or if ONLY THE EXISTING THREAD CAN CAN THEM ON THEMESELVES