Thread anotherThread at=new Thread(--runnable object--);
anotherThread.sleep();
If the following code is in main method
then,
would cause the
main Thread to sleep and not the anotherThread
But if same code was in run method of anotherThread,then
would cause the
anotherThread to sleep and not the main Thread
Am i right ?