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.