What are the implications of syncronizing the run() methods in creation of Threads by extending a Thread class.
and implementing Runnable
Now the quesion is: Is there any effect occurs of syncronizing the run()in either case.Does the multithreading execution will not take place?Does it works like a serial execution of the statements?
[ November 16, 2006: Message edited by: Sanjeev Kumar Singh ]
and implementing Runnable
Now the quesion is: Is there any effect occurs of syncronizing the run()in either case.Does the multithreading execution will not take place?Does it works like a serial execution of the statements?
[ November 16, 2006: Message edited by: Sanjeev Kumar Singh ]