I know I am confused with the basic concept of thread here!
Does it mean, if you create a instance , then the instance call call start() method many times, it means lauch many thread, but every thread exist for just this instance , so they do not need use static variable, just instance variable.
so they use the same varible v!
Originally posted by Manfred Leonhardt:
Pravin's second reply is right on the money! You must not associate threads with instances. One instance can launch many threads ... Therefore the example doesn't need any variables to be static to lead to the correct answers. The example assumes only on instance of class cQ7ed5.