Hi all
This has to be explained more detailed
here when i executed the output i Got is 5 "world".
After I interchanged the start method as
public static void main(
String args [])
{
Thread t1 = new A();
Thread t2 = new TestClass();
t1.start();
t2.start();
}
I got the output as fine "Hello"
So As i per knowledge this shows that as "i" is static which ever the first theard is start only that theards run method value is printed.
Please check and help me out clearly