javascript
Brief description  about Online courses   join in Online courses
View Santosh Kumar Mohanty 's Profile

WHAT IS THE ERROR THREADS/BLOCK

public sychblock implements Runnable
{
static String msg[]={"I","LOVE","MY","MOTHERLAND"};
public sychblock()
{
Thread T;
T=new Thread (this,"SYNCHRONISATION");
T.start();
}
public static voiod main(String s[])
{
sychblock t1=new sychblock("Thread 1");
sychblock t2= new sychblock("Thread 2");
t1.start();
t2.start();
boolean A1IsAlive = true;
boolean A2IsAlive = true;
do
{
if (A1IsAlive
Asked by Santosh Kumar Mohanty | Dec 15, 2010 |  Reply now
Replies (1)
View arun kumar das 's Profile
HI

you have to put complete code ..

java teacher
Dec 16, 2010