sujatham Profile Answers by sujatham Questions by sujatham Aug 2nd, 2007 I we declare variable I like below,volatile int I;each thread will occupy a separate copy of variable I.If we declare a variable I like below,int I;each thread will share the same variable.
Suppose If we have variable ' I ' in run method, If I can create one or more thread each thread will occupy a separate copy or same variable will be shared