Basic - multi threading - java
===

I know each thread has its own copy of local variables and static variables are shared among multiple threads.Are instance variables also shared just like static variables ?If yes, does it means that race condition happens due to static and instance variables only ?

Please suggest.Also correct my understanding if its wrong.

Thanks in advance.