title: Is a static variable shared between two threads?
body: <p>In a multithread program if we have a static variable then does each thread have its own copy of the variable and is the change made by one thread visible to the other in case of static variable ?? Please explain</p>